ParcelableVolumeInfo
open class ParcelableVolumeInfo : Parcelable
Convenience class for passing information about the audio configuration of a MediaSessionCompat
.
Summary
Public constructors
<init>
ParcelableVolumeInfo(volumeType: Int, audioStream: Int, controlType: Int, maxVolume: Int, currentVolume: Int)
<init>
ParcelableVolumeInfo(from: Parcel!)
Public methods
describeContents
open fun describeContents(): Int
writeToParcel
open fun writeToParcel(dest: Parcel!, flags: Int): Unit
Properties
audioStream
var audioStream: Int
controlType
var controlType: Int
currentVolume
var currentVolume: Int
maxVolume
var maxVolume: Int
volumeType
var volumeType: Int