ParcelableVolumeInfo

Added in 1.1.0
Deprecated in 1.8.0-alpha01

class ParcelableVolumeInfo : Parcelable


Convenience class for passing information about the audio configuration of a MediaSessionCompat.

Summary

Public constructors

ParcelableVolumeInfo(
    volumeType: Int,
    audioStream: Int,
    controlType: Int,
    maxVolume: Int,
    currentVolume: Int
)

Public functions

Int
Unit
writeToParcel(dest: Parcel!, flags: Int)

Constants

CREATOR

Added in 1.1.0
Deprecated in 1.8.0-alpha01
const val CREATORParcelable.Creator<ParcelableVolumeInfo!>!

Public constructors

ParcelableVolumeInfo

Added in 1.1.0
Deprecated in 1.8.0-alpha01
ParcelableVolumeInfo(from: Parcel!)

ParcelableVolumeInfo

Added in 1.1.0
Deprecated in 1.8.0-alpha01
ParcelableVolumeInfo(
    volumeType: Int,
    audioStream: Int,
    controlType: Int,
    maxVolume: Int,
    currentVolume: Int
)

Public functions

describeContents

Added in 1.1.0
Deprecated in 1.8.0-alpha01
fun describeContents(): Int

writeToParcel

Added in 1.1.0
Deprecated in 1.8.0-alpha01
fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

audioStream

Added in 1.1.0
Deprecated in 1.8.0-alpha01
val audioStreamInt

controlType

Added in 1.1.0
Deprecated in 1.8.0-alpha01
val controlTypeInt

currentVolume

Added in 1.1.0
Deprecated in 1.8.0-alpha01
val currentVolumeInt

maxVolume

Added in 1.1.0
Deprecated in 1.8.0-alpha01
val maxVolumeInt

volumeType

Added in 1.1.0
Deprecated in 1.8.0-alpha01
val volumeTypeInt