Android.Media.Session Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
MediaController |
Allows an app to interact with an ongoing media session. |
MediaController.Callback |
Callback for receiving updates from the session. |
MediaController.PlaybackInfo |
Holds information about the current playback and how audio is handled for this session. |
MediaController.PlaybackInfo.InterfaceConsts | |
MediaController.TransportControls |
Interface for controlling media playback on a session. |
MediaSession |
Allows interaction with media controllers, volume keys, media buttons, and transport controls. |
MediaSession.Callback |
Receives media buttons, transport controls, and commands from controllers and the system. |
MediaSession.QueueItem |
A single item that is part of the play queue. |
MediaSession.QueueItem.InterfaceConsts | |
MediaSession.Token |
Represents an ongoing session. |
MediaSession.Token.InterfaceConsts | |
MediaSessionManager |
Provides support for interacting with |
MediaSessionManager.ActiveSessionsChangedEventArgs | |
MediaSessionManager.MediaKeyEventSessionChangedEventArgs | |
MediaSessionManager.RemoteUserInfo |
Information of a remote user of |
MediaSessionManager.Session2TokensChangedEventArgs | |
PlaybackState |
Playback state for a |
PlaybackState.Builder |
Builder for |
PlaybackState.CustomAction |
|
PlaybackState.CustomAction.Builder | |
PlaybackState.CustomAction.InterfaceConsts | |
PlaybackState.InterfaceConsts |
Interfaces
MediaSessionManager.IOnActiveSessionsChangedListener |
Listens for changes to the list of active sessions. |
MediaSessionManager.IOnMediaKeyEventSessionChangedListener |
Listener to receive changes in the media key event session, which would receive a media key event unless specified. |
MediaSessionManager.IOnSession2TokensChangedListener |
This API is not generally intended for third party application developers. |
Enums
MediaPlaybackType |
Enumerates values returned by the Local, and Remote members. |
MediaSessionFlags |
Enumerates values returned by several types and taken as a parameter of the F:Android.Media.Session.MediaSession.SetFlags member. |
PlaybackStateCode |
Enumerates values returned by several types and taken as a parameter of the F:Android.Media.Session.PlaybackState+Builder.SetState, and F:Android.Media.Session.PlaybackState+Builder.SetState members. |