package

androidx.media3.ui

Interfaces

AspectRatioFrameLayout.AspectRatioListenerListener to be notified about changes of the aspect ratios of this view.
LegacyPlayerControlView.ProgressUpdateListenerListener to be notified when progress has been updated.
LegacyPlayerControlView.VisibilityListenerListener to be notified about changes of the visibility of the UI control.
PlayerControlView.OnFullScreenModeChangedListener
PlayerControlView.ProgressUpdateListenerListener to be notified when progress has been updated.
PlayerControlView.VisibilityListener
PlayerNotificationManager.CustomActionReceiverDefines and handles custom actions.
PlayerNotificationManager.MediaDescriptionAdapterAn adapter to provide content assets of the media currently playing.
PlayerNotificationManager.NotificationListenerA listener for changes to the notification.
PlayerView.ControllerVisibilityListenerListener to be notified about changes of the visibility of the UI controls.
PlayerView.FullscreenButtonClickListenerListener invoked when the fullscreen button is clicked.
TimeBarInterface for time bar views that can display a playback position, buffered position, duration and ad markers, and that have a listener for scrubbing (seeking) events.
TimeBar.OnScrubListenerListener for scrubbing events.
TrackNameProviderConverts Formats to user readable track names.
TrackSelectionDialogBuilder.DialogCallbackCallback which is invoked when a track selection has been made.
TrackSelectionView.TrackSelectionListenerListener for changes to the selected tracks.

Classes

AspectRatioFrameLayoutA FrameLayout that resizes itself to match a specified aspect ratio.
CaptionStyleCompatA compatibility wrapper for .
DefaultMediaDescriptionAdapterDefault implementation of PlayerNotificationManager.MediaDescriptionAdapter.
DefaultTimeBarA time bar that shows a current position, buffered position, duration and ad markers.
DefaultTrackNameProviderA default TrackNameProvider.
LegacyPlayerControlViewA view for controlling Player instances.
PlayerControlViewA view for controlling Player instances.
PlayerNotificationManagerStarts, updates and cancels a media style notification reflecting the player state.
PlayerNotificationManager.BitmapCallbackReceives a Bitmap.
PlayerNotificationManager.BuilderA builder for PlayerNotificationManager instances.
PlayerViewA high level view for Player media playbacks.
SubtitleViewA view for displaying subtitle Cues.
TrackSelectionDialogBuilderBuilder for a dialog with a TrackSelectionView.
TrackSelectionViewA view for making track selections.
WearUnsuitableOutputPlaybackSuppressionResolverListenerA that launches a system dialog in response to Player.PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT to allow the user to connect a suitable audio output.

Annotation Types

AspectRatioFrameLayout.ResizeModeResize modes for AspectRatioFrameLayout.
CaptionStyleCompat.EdgeTypeThe type of edge, which may be none.
PlayerNotificationManager.PriorityPriority of the notification (required for API 25 and lower).
PlayerNotificationManager.VisibilityVisibility of notification on the lock screen.
PlayerView.ArtworkDisplayModeDetermines the artwork display mode.
PlayerView.ImageDisplayModeDetermines the image display mode.
PlayerView.ShowBufferingDetermines when the buffering view is shown.
SubtitleView.ViewTypeThe type of View to use to display subtitles.