androidx.media3.session
Annotations
CommandButton.Icon |
An icon constant for a button. |
CommandButton.Slot |
A slot at which a button can be displayed in a UI surface. |
LibraryResult.Code |
Result codes. |
SessionCommand.CommandCode |
Command codes of session commands. |
SessionError.Code |
Info and error result codes. |
SessionResult.Code |
Result codes. |
SessionToken.TokenType |
Types of |
Interfaces
BitmapLoader |
This interface is deprecated. Use |
DefaultMediaNotificationProvider.NotificationIdProvider |
Provides notification IDs for posting media notifications for given media sessions. |
IMediaController |
Interface from MediaSession to MediaController. |
IMediaSession |
Interface from MediaController to MediaSession. |
IMediaSessionService |
Interface from MediaController to MediaSessionService. |
MediaBrowser.Listener |
A listener for events from |
MediaController.Listener |
A listener for events and incoming commands from |
MediaLibraryService.MediaLibrarySession.Callback |
An extended |
MediaNotification.ActionFactory |
Creates |
MediaNotification.Provider |
Provides |
MediaNotification.Provider.Callback |
Receives updates for a notification. |
MediaSession.Callback |
A callback to handle incoming commands from |
MediaSessionService.Listener |
Listener for |
Classes
CacheBitmapLoader |
A |
CommandButton |
A button for a |
CommandButton.Builder |
A builder for |
DefaultMediaNotificationProvider |
The default |
DefaultMediaNotificationProvider.Builder |
A builder for |
IMediaController.Default |
Default implementation for IMediaController. |
IMediaController.Stub |
Local-side IPC implementation stub class. |
IMediaSession.Default |
Default implementation for IMediaSession. |
IMediaSession.Stub |
Local-side IPC implementation stub class. |
IMediaSessionService.Default |
Default implementation for IMediaSessionService. |
IMediaSessionService.Stub |
Local-side IPC implementation stub class. |
LibraryResult |
A result to be used with |
MediaBrowser |
Browses media content offered by a |
MediaBrowser.Builder |
A builder for |
MediaButtonReceiver |
A media button receiver receives hardware media playback button intent, such as those sent by wired and wireless headsets. |
MediaConstants |
Constants that can be shared between media session and controller. |
MediaController |
A controller that interacts with a |
MediaController.Builder |
A builder for |
MediaLibraryService |
Superclass to be extended by services hosting |
MediaLibraryService.LibraryParams |
Parameters for the interaction between |
MediaLibraryService.LibraryParams.Builder |
A builder for |
MediaLibraryService.MediaLibrarySession |
An extended |
MediaLibraryService.MediaLibrarySession.Builder |
A builder for |
MediaNotification |
A notification for media playbacks. |
MediaSession |
A session that allows a media app to expose its player functionality, information of the playlist and the media item currently being played to other processes including the Android framework and other apps. |
MediaSession.Builder |
A builder for |
MediaSession.ConnectionResult |
A result for |
MediaSession.ConnectionResult.AcceptedResultBuilder |
A builder for |
MediaSession.ControllerInfo |
Information of a |
MediaSession.MediaItemsWithStartPosition |
Representation of a list of |
MediaSessionService |
Superclass to be extended by services hosting |
MediaStyleNotificationHelper |
Class containing media specfic |
MediaStyleNotificationHelper.DecoratedMediaCustomViewStyle |
Notification style for media custom views that are decorated by the system. |
MediaStyleNotificationHelper.MediaStyle |
Notification style for media playback notifications. |
SessionCommand |
A command that a |
SessionCommands |
A set of |
SessionCommands.Builder |
A builder for |
SessionError |
Provides information about a session error. |
SessionResult |
A result to be used with |
SessionToken |
A token that represents an ongoing |
SimpleBitmapLoader |
This class is deprecated. Use |