# androidx.media3.ui

*** ** * ** ***

## Annotations

|---|---|
| `https://developer.android.com/reference/androidx/media3/ui/AspectRatioFrameLayout.ResizeMode` | Resize modes for `https://developer.android.com/reference/androidx/media3/ui/AspectRatioFrameLayout`. |
| `https://developer.android.com/reference/androidx/media3/ui/CaptionStyleCompat.EdgeType` | The type of edge, which may be none. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.Priority` | Priority of the notification (required for API 25 and lower). |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.Visibility` | Visibility of notification on the lock screen. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerView.ArtworkDisplayMode` | Determines the artwork display mode. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerView.ImageDisplayMode` | Determines the image display mode. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerView.ShowBuffering` | Determines when the buffering view is shown. |
| `https://developer.android.com/reference/androidx/media3/ui/SubtitleView.ViewType` | The type of `https://developer.android.com/reference/android/view/View.html` to use to display subtitles. |

## Interfaces

|---|---|
| `https://developer.android.com/reference/androidx/media3/ui/AspectRatioFrameLayout.AspectRatioListener` | Listener to be notified about changes of the aspect ratios of this view. |
| `https://developer.android.com/reference/androidx/media3/ui/LegacyPlayerControlView.ProgressUpdateListener` | Listener to be notified when progress has been updated. |
| `https://developer.android.com/reference/androidx/media3/ui/LegacyPlayerControlView.VisibilityListener` | Listener to be notified about changes of the visibility of the UI control. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerControlView.OnFullScreenModeChangedListener` | **This interface is deprecated.** Register a `https://developer.android.com/reference/androidx/media3/ui/PlayerView.FullscreenButtonClickListener` via `https://developer.android.com/reference/androidx/media3/ui/PlayerView#setFullscreenButtonClickListener(androidx.media3.ui.PlayerView.FullscreenButtonClickListener)` instead. <br /> |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerControlView.ProgressUpdateListener` | Listener to be notified when progress has been updated. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerControlView.VisibilityListener` | **This interface is deprecated.** Register a `https://developer.android.com/reference/androidx/media3/ui/PlayerView.ControllerVisibilityListener` via `https://developer.android.com/reference/androidx/media3/ui/PlayerView#setControllerVisibilityListener(androidx.media3.ui.PlayerView.ControllerVisibilityListener)` instead. <br /> |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.CustomActionReceiver` | Defines and handles custom actions. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.MediaDescriptionAdapter` | An adapter to provide content assets of the media currently playing. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.NotificationListener` | A listener for changes to the notification. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerView.ControllerVisibilityListener` | Listener to be notified about changes of the visibility of the UI controls. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerView.FullscreenButtonClickListener` | Listener invoked when the fullscreen button is clicked. |
| `https://developer.android.com/reference/androidx/media3/ui/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. |
| `https://developer.android.com/reference/androidx/media3/ui/TimeBar.OnScrubListener` | Listener for scrubbing events. |
| `https://developer.android.com/reference/androidx/media3/ui/TrackNameProvider` | Converts `https://developer.android.com/reference/androidx/media3/common/Format`s to user readable track names. |
| `https://developer.android.com/reference/androidx/media3/ui/TrackSelectionDialogBuilder.DialogCallback` | Callback which is invoked when a track selection has been made. |
| `https://developer.android.com/reference/androidx/media3/ui/TrackSelectionView.TrackSelectionListener` | Listener for changes to the selected tracks. |

## Classes

|---|---|
| `https://developer.android.com/reference/androidx/media3/ui/AspectRatioFrameLayout` | A `https://developer.android.com/reference/android/widget/FrameLayout.html` that resizes itself to match a specified aspect ratio. |
| `https://developer.android.com/reference/androidx/media3/ui/CaptionStyleCompat` | A compatibility wrapper for `https://developer.android.com/reference/android/view/accessibility/CaptioningManager.CaptionStyle.html`. |
| `https://developer.android.com/reference/androidx/media3/ui/DefaultMediaDescriptionAdapter` | Default implementation of `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.MediaDescriptionAdapter`. |
| `https://developer.android.com/reference/androidx/media3/ui/DefaultTimeBar` | A time bar that shows a current position, buffered position, duration and ad markers. |
| `https://developer.android.com/reference/androidx/media3/ui/DefaultTrackNameProvider` | A default `https://developer.android.com/reference/androidx/media3/ui/TrackNameProvider`. |
| `https://developer.android.com/reference/androidx/media3/ui/LegacyPlayerControlView` | A view for controlling `https://developer.android.com/reference/androidx/media3/common/Player` instances. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerControlView` | A view for controlling `https://developer.android.com/reference/androidx/media3/common/Player` instances. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager` | Starts, updates and cancels a media style notification reflecting the player state. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.BitmapCallback` | Receives a `https://developer.android.com/reference/android/graphics/Bitmap.html`. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager.Builder` | A builder for `https://developer.android.com/reference/androidx/media3/ui/PlayerNotificationManager` instances. |
| `https://developer.android.com/reference/androidx/media3/ui/PlayerView` | A high level view for `https://developer.android.com/reference/androidx/media3/common/Player` media playbacks. |
| `https://developer.android.com/reference/androidx/media3/ui/SubtitleView` | A view for displaying subtitle `https://developer.android.com/reference/androidx/media3/common/text/Cue`s. |
| `https://developer.android.com/reference/androidx/media3/ui/TrackSelectionDialogBuilder` | Builder for a dialog with a `https://developer.android.com/reference/androidx/media3/ui/TrackSelectionView`. |
| `https://developer.android.com/reference/androidx/media3/ui/TrackSelectionView` | A view for making track selections. |
| `https://developer.android.com/reference/androidx/media3/ui/WearUnsuitableOutputPlaybackSuppressionResolverListener` | A `https://developer.android.com/reference/androidx/media3/common/Player.Listener` that launches a system dialog in response to `https://developer.android.com/reference/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT()` to allow the user to connect a suitable audio output. |