ParcelableVolumeInfo

Added in 1.1.0
Deprecated in 1.8.0

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
const val CREATORParcelable.Creator<ParcelableVolumeInfo!>!

Public constructors

ParcelableVolumeInfo

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

ParcelableVolumeInfo

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

Public functions

describeContents

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

writeToParcel

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

Public properties

audioStream

Added in 1.1.0
Deprecated in 1.8.0
val audioStreamInt

controlType

Added in 1.1.0
Deprecated in 1.8.0
val controlTypeInt

currentVolume

Added in 1.1.0
Deprecated in 1.8.0
val currentVolumeInt

maxVolume

Added in 1.1.0
Deprecated in 1.8.0
val maxVolumeInt

volumeType

Added in 1.1.0
Deprecated in 1.8.0
val volumeTypeInt