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

Constants

const Parcelable.Creator<ParcelableVolumeInfo!>!

This property is deprecated. Deprecated in Java

Public constructors

This function is deprecated. Deprecated in Java

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

This function is deprecated. Deprecated in Java

Public functions

Int

This function is deprecated. Deprecated in Java

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

This function is deprecated. Deprecated in Java

Public properties

Int

This property is deprecated. Deprecated in Java

Int

This property is deprecated. Deprecated in Java

Int

This property is deprecated. Deprecated in Java

Int

This property is deprecated. Deprecated in Java

Int

This property is deprecated. Deprecated in Java

Inherited Constants

From android.os.Parcelable
const Int

This property is deprecated. Deprecated in Java

const Int

This property is deprecated. Deprecated in Java

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