java.lang.Object | |
↳ | android.support.v4.media.session.MediaControllerCompat.PlaybackInfo |
Holds information about the way volume 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 stream this is currently controlling volume on.
| |||||||||||
Get the current volume for this session.
| |||||||||||
Get the maximum volume that may be set for this session.
| |||||||||||
Get the type of volume handling, either local or remote.
| |||||||||||
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 stream this is currently controlling volume on. When the volume
type is PLAYBACK_TYPE_REMOTE
this value does not
have meaning and should be ignored.
Get the current volume for this session.
Get the maximum volume that may be set for this session.
Get the type of volume handling, either local or remote. One of:
Get the type of volume control that can be used. One of: