added in version 22.1.0
belongs to Maven artifact com.android.support:support-media-compat:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-media-compat:28.0.0-alpha1
ParcelableVolumeInfo
public
class
ParcelableVolumeInfo
extends Object
implements
Parcelable
java.lang.Object | |
↳ | android.support.v4.media.session.ParcelableVolumeInfo |
Convenience class for passing information about the audio configuration of a
MediaSessionCompat
.
Summary
Inherited constants |
---|
![]()
android.os.Parcelable
|
Fields | |
---|---|
public
static
final
Creator<ParcelableVolumeInfo> |
CREATOR
|
public
int |
audioStream
|
public
int |
controlType
|
public
int |
currentVolume
|
public
int |
maxVolume
|
public
int |
volumeType
|
Public constructors | |
---|---|
ParcelableVolumeInfo(int volumeType, int audioStream, int controlType, int maxVolume, int currentVolume)
|
|
ParcelableVolumeInfo(Parcel from)
|
Public methods | |
---|---|
int
|
describeContents()
|
void
|
writeToParcel(Parcel dest, int flags)
|
Inherited methods | |
---|---|
![]()
java.lang.Object
| |
![]()
android.os.Parcelable
|
Fields
CREATOR
added in version 22.1.0