androidx.media3.ui


Annotations

AspectRatioFrameLayout.ResizeMode

Resize modes for AspectRatioFrameLayout.

CaptionStyleCompat.EdgeType

The type of edge, which may be none.

PlayerNotificationManager.Priority

Priority of the notification (required for API 25 and lower).

PlayerNotificationManager.Visibility

Visibility of notification on the lock screen.

PlayerView.ArtworkDisplayMode

Determines the artwork display mode.

PlayerView.ImageDisplayMode

Determines the image display mode.

PlayerView.ShowBuffering

Determines when the buffering view is shown.

SubtitleView.ViewType

The type of View to use to display subtitles.

Interfaces

AspectRatioFrameLayout.AspectRatioListener

Listener to be notified about changes of the aspect ratios of this view.

LegacyPlayerControlView.ProgressUpdateListener

Listener to be notified when progress has been updated.

LegacyPlayerControlView.VisibilityListener

Listener to be notified about changes of the visibility of the UI control.

PlayerControlView.OnFullScreenModeChangedListener

This interface is deprecated.

Register a PlayerView.FullscreenButtonClickListener via setFullscreenButtonClickListener instead.

PlayerControlView.ProgressUpdateListener

Listener to be notified when progress has been updated.

PlayerControlView.VisibilityListener

This interface is deprecated.

Register a PlayerView.ControllerVisibilityListener via setControllerVisibilityListener instead.

PlayerNotificationManager.CustomActionReceiver

Defines and handles custom actions.

PlayerNotificationManager.MediaDescriptionAdapter

An adapter to provide content assets of the media currently playing.

PlayerNotificationManager.NotificationListener

A listener for changes to the notification.

PlayerView.ControllerVisibilityListener

Listener to be notified about changes of the visibility of the UI controls.

PlayerView.FullscreenButtonClickListener

Listener invoked when the fullscreen button is clicked.

TimeBar

Interface 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.OnScrubListener

Listener for scrubbing events.

TrackNameProvider

Converts Formats to user readable track names.

TrackSelectionDialogBuilder.DialogCallback

Callback which is invoked when a track selection has been made.

TrackSelectionView.TrackSelectionListener

Listener for changes to the selected tracks.

Classes

AspectRatioFrameLayout

A FrameLayout that resizes itself to match a specified aspect ratio.

CaptionStyleCompat

A compatibility wrapper for CaptionStyle.

DefaultMediaDescriptionAdapter

Default implementation of MediaDescriptionAdapter.

DefaultTimeBar

A time bar that shows a current position, buffered position, duration and ad markers.

DefaultTrackNameProvider

A default TrackNameProvider.

LegacyPlayerControlView

A view for controlling Player instances.

PlayerControlView

A view for controlling Player instances.

PlayerNotificationManager

Starts, updates and cancels a media style notification reflecting the player state.

PlayerNotificationManager.BitmapCallback

Receives a Bitmap.

PlayerNotificationManager.Builder

A builder for PlayerNotificationManager instances.

PlayerView

A high level view for Player media playbacks.

SubtitleView

A view for displaying subtitle Cues.

TrackSelectionDialogBuilder

Builder for a dialog with a TrackSelectionView.

TrackSelectionView

A view for making track selections.

WearUnsuitableOutputPlaybackSuppressionResolverListener

A Player.Listener that launches a system dialog in response to PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT to allow the user to connect a suitable audio output.