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 |
---|
From
interface
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 | |
---|---|
From
class
java.lang.Object
| |
From
interface
android.os.Parcelable
|
Fields
Public constructors
ParcelableVolumeInfo
added in version 22.1.0
ParcelableVolumeInfo (int volumeType, int audioStream, int controlType, int maxVolume, int currentVolume)
Parameters | |
---|---|
volumeType |
int |
audioStream |
int |
controlType |
int |
maxVolume |
int |
currentVolume |
int |
ParcelableVolumeInfo
added in version 22.1.0
ParcelableVolumeInfo (Parcel from)
Parameters | |
---|---|
from |
Parcel |
Public methods
writeToParcel
added in version 22.1.0
void writeToParcel (Parcel dest, int flags)
Parameters | |
---|---|
dest |
Parcel |
flags |
int |
Interfaces
Classes
- MediaButtonReceiver
- MediaControllerCompat
- MediaControllerCompat.Callback
- MediaControllerCompat.PlaybackInfo
- MediaControllerCompat.TransportControls
- MediaSessionCompat
- MediaSessionCompat.Callback
- MediaSessionCompat.QueueItem
- MediaSessionCompat.Token
- ParcelableVolumeInfo
- PlaybackStateCompat
- PlaybackStateCompat.Builder
- PlaybackStateCompat.CustomAction
- PlaybackStateCompat.CustomAction.Builder