java.lang.Object | |
↳ | android.media.session.MediaController.PlaybackInfo |
Holds information about the current playback and how audio is handled for this session.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | PLAYBACK_TYPE_LOCAL | The session uses local playback. | |||||||||
int | PLAYBACK_TYPE_REMOTE | The session uses remote playback. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the audio attributes for this session.
| |||||||||||
Get the current volume for this session.
| |||||||||||
Get the maximum volume that may be set for this session.
| |||||||||||
Get the type of playback which affects volume handling.
| |||||||||||
Get the type of volume control that can be used.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The session uses local playback.
The session uses remote playback.
Get the audio attributes for this session. The attributes will affect
volume handling for the session. When the volume type is
PLAYBACK_TYPE_REMOTE
these may be ignored by the
remote volume handler.
Get the current volume for this session.
Get the maximum volume that may be set for this session.
Get the type of playback which affects volume handling. One of:
Get the type of volume control that can be used. One of: