Example usage for Java android.media.session MediaController fields, constructors, methods, implement or subclass
The text is from its open source code.
MediaController(Context context, ISessionController sessionBinder) Call for creating a MediaController directly from a binder. | |
MediaController(@NonNull Context context, @NonNull MediaSession.Token token) Create a new MediaController from a session's token. |
PlaybackState | getPlaybackState() Get the current playback state for this session. |
TransportControls | getTransportControls() Get a TransportControls instance to send transport actions to the associated session. |