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 CREATOR: Parcelable.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 audioStream: Int

controlType

Added in 1.1.0
Deprecated in 1.8.0
val controlType: Int

currentVolume

Added in 1.1.0
Deprecated in 1.8.0
val currentVolume: Int

maxVolume

Added in 1.1.0
Deprecated in 1.8.0
val maxVolume: Int

volumeType

Added in 1.1.0
Deprecated in 1.8.0
val volumeType: Int