public static final class MediaControllerCompat.PlaybackInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
PLAYBACK_TYPE_LOCAL
The session uses local playback.
|
static int |
PLAYBACK_TYPE_REMOTE
The session uses remote playback.
|
Modifier and Type | Method and Description |
---|---|
int |
getAudioStream()
Get the stream this is currently controlling volume on.
|
int |
getCurrentVolume()
Get the current volume for this session.
|
int |
getMaxVolume()
Get the maximum volume that may be set for this session.
|
int |
getPlaybackType()
Get the type of volume handling, either local or remote.
|
int |
getVolumeControl()
Get the type of volume control that can be used.
|
public static final int PLAYBACK_TYPE_LOCAL
public static final int PLAYBACK_TYPE_REMOTE
public int getPlaybackType()
public int getAudioStream()
PLAYBACK_TYPE_REMOTE
this value does not
have meaning and should be ignored.public int getVolumeControl()
public int getMaxVolume()
public int getCurrentVolume()