# ForwardingPlayer

# ForwardingPlayer

Artifact:[androidx.media3:media3-common](https://developer.android.com/jetpack/androidx/releases/media3)  
[View Source](https://cs.android.com/search?q=file:androidx/media3/common/ForwardingPlayer.java+class:androidx.media3.common.ForwardingPlayer)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/media3/common/ForwardingPlayer "View this page in Java")

<br />

```
@UnstableApi
class ForwardingPlayer : Player
```

<br />

Known direct subclasses  
[CastPlayer](https://developer.android.com/reference/kotlin/androidx/media3/cast/CastPlayer)  

|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CastPlayer](https://developer.android.com/reference/kotlin/androidx/media3/cast/CastPlayer) | [Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)implementation that can control playback both on the local device, and on a remote Cast device. |

*** ** * ** ***

A[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)that forwards method calls to another[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player). Applications can use this class to suppress or modify specific operations, by overriding the respective methods.

Subclasses must ensure they maintain consistency with the[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)interface, including interactions with[Player.Listener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener), which can be quite fiddly. For example, if removing an available[Player.Command](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Command)and disabling the corresponding method, subclasses need to:

- Override[isCommandAvailable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCommandAvailable(int))and[getAvailableCommands](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getAvailableCommands())
- Override and no-op the method itself
- Override[addListener](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#addListener(androidx.media3.common.Player.Listener))and wrap the provided[Player.Listener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener)with an implementation that drops calls to[onAvailableCommandsChanged](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener#onAvailableCommandsChanged(androidx.media3.common.Player.Commands))and[onEvents](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener#onEvents(androidx.media3.common.Player,androidx.media3.common.Player.Events))if they were only triggered by a change in command availability that is 'invisible' after the command removal.

Many customization use-cases are instead better served by[ForwardingSimpleBasePlayer](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingSimpleBasePlayer), which allows subclasses to more concisely modify the behavior of an operation, or disallow a[Player.Command](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Command). In many cases[ForwardingSimpleBasePlayer](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingSimpleBasePlayer)should be used in preference to`ForwardingPlayer`.

## Summary

|                                                                                                                                                     ### Public constructors                                                                                                                                                     |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [ForwardingPlayer](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#ForwardingPlayer(androidx.media3.common.Player))`(player: `[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)`!)` Creates a new instance that forwards all operations to`player`. |

|                                                     ### Public functions                                                      |
|-------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [addListener](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#addListener(androidx.media3.common.Player.Listener))`(listener: `[Player.Listener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener)`!)` Calls[addListener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addListener(androidx.media3.common.Player.Listener))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [addMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#addMediaItem(androidx.media3.common.MediaItem))`(mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!)` Calls[addMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItem(androidx.media3.common.MediaItem))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [addMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#addMediaItem(int,androidx.media3.common.MediaItem))`(index: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!)` Calls[addMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItem(int,androidx.media3.common.MediaItem))on the delegate.                                                                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [addMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#addMediaItems(java.util.List<androidx.media3.common.MediaItem>))`(mediaItems: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!>!)` Calls[addMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItems(java.util.List<androidx.media3.common.MediaItem>))on the delegate.                                                                                                                                                                                                                                |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [addMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#addMediaItems(int,java.util.List<androidx.media3.common.MediaItem>))`(index: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, mediaItems: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!>!)` Calls[addMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItems(int,java.util.List<androidx.media3.common.MediaItem>))on the delegate.                                                                                                                                  |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [canAdvertiseSession](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#canAdvertiseSession())`()` Calls[canAdvertiseSession](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#canAdvertiseSession())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [clearMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#clearMediaItems())`()` Calls[clearMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearMediaItems())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [clearVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#clearVideoSurface())`()` Calls[clearVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurface())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [clearVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#clearVideoSurface(android.view.Surface))`(surface: `[Surface](https://developer.android.com/reference/android/view/Surface.html)`?)` Calls[clearVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurface(android.view.Surface))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [clearVideoSurfaceHolder](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#clearVideoSurfaceHolder(android.view.SurfaceHolder))`(surfaceHolder: `[SurfaceHolder](https://developer.android.com/reference/android/view/SurfaceHolder.html)`?)` Calls[clearVideoSurfaceHolder](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurfaceHolder(android.view.SurfaceHolder))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [clearVideoSurfaceView](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#clearVideoSurfaceView(android.view.SurfaceView))`(surfaceView: `[SurfaceView](https://developer.android.com/reference/android/view/SurfaceView.html)`?)` Calls[clearVideoSurfaceView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurfaceView(android.view.SurfaceView))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [clearVideoTextureView](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#clearVideoTextureView(android.view.TextureView))`(textureView: `[TextureView](https://developer.android.com/reference/android/view/TextureView.html)`?)` Calls[clearVideoTextureView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoTextureView(android.view.TextureView))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | ~~[decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#decreaseDeviceVolume())~~`()` **This function is deprecated.** Use[decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#decreaseDeviceVolume(int))instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#decreaseDeviceVolume(int))`(@`[C.VolumeFlags](https://developer.android.com/reference/kotlin/androidx/media3/common/C.VolumeFlags)` flags: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#decreaseDeviceVolume(int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Looper](https://developer.android.com/reference/android/os/Looper.html)`!`                                                   | [getApplicationLooper](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getApplicationLooper())`()` Calls[getApplicationLooper](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getApplicationLooper())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [AudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/AudioAttributes)`!`                   | [getAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getAudioAttributes())`()` Calls[getAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAudioAttributes())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getAudioSessionId](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getAudioSessionId())`()` Calls[getAudioSessionId](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAudioSessionId())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Player.Commands](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Commands)`!`                   | [getAvailableCommands](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getAvailableCommands())`()` Calls[getAvailableCommands](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAvailableCommands())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getBufferedPercentage](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getBufferedPercentage())`()` Calls[getBufferedPercentage](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getBufferedPercentage())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getBufferedPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getBufferedPosition())`()` Calls[getBufferedPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getBufferedPosition())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getContentBufferedPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getContentBufferedPosition())`()` Calls[getContentBufferedPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getContentBufferedPosition())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getContentDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getContentDuration())`()` Calls[getContentDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getContentDuration())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getContentPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getContentPosition())`()` Calls[getContentPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getContentPosition())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getCurrentAdGroupIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentAdGroupIndex())`()` Calls[getCurrentAdGroupIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentAdGroupIndex())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getCurrentAdIndexInAdGroup](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentAdIndexInAdGroup())`()` Calls[getCurrentAdIndexInAdGroup](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentAdIndexInAdGroup())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [CueGroup](https://developer.android.com/reference/kotlin/androidx/media3/common/text/CueGroup)`!`                            | [getCurrentCues](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentCues())`()` Calls[getCurrentCues](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentCues())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getCurrentLiveOffset](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentLiveOffset())`()` Calls[getCurrentLiveOffset](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentLiveOffset())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?`                                                | [getCurrentManifest](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentManifest())`()` Calls[getCurrentManifest](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentManifest())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`?`                               | [getCurrentMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentMediaItem())`()` Calls[getCurrentMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentMediaItem())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getCurrentMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentMediaItemIndex())`()` Calls[getCurrentMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentMediaItemIndex())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getCurrentPeriodIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentPeriodIndex())`()` Calls[getCurrentPeriodIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentPeriodIndex())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getCurrentPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentPosition())`()` Calls[getCurrentPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentPosition())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Timeline](https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline)`!`                                 | [getCurrentTimeline](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentTimeline())`()` Calls[getCurrentTimeline](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentTimeline())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Tracks](https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks)`!`                                     | [getCurrentTracks](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentTracks())`()` Calls[getCurrentTracks](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentTracks())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | ~~[getCurrentWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentWindowIndex())~~`()` **This function is deprecated.** Use[getCurrentMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentMediaItemIndex())instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [DeviceInfo](https://developer.android.com/reference/kotlin/androidx/media3/common/DeviceInfo)`!`                             | [getDeviceInfo](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getDeviceInfo())`()` Calls[getDeviceInfo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDeviceInfo())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getDeviceVolume())`()` Calls[getDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDeviceVolume())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getDuration())`()` Calls[getDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDuration())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getMaxSeekToPreviousPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getMaxSeekToPreviousPosition())`()` Calls[getMaxSeekToPreviousPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMaxSeekToPreviousPosition())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!`                               | [getMediaItemAt](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getMediaItemAt(int))`(index: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[getMediaItemAt](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaItemAt(int))on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getMediaItemCount](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getMediaItemCount())`()` Calls[getMediaItemCount](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaItemCount())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [MediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata)`!`                       | [getMediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getMediaMetadata())`()` Calls[getMediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaMetadata())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getNextMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getNextMediaItemIndex())`()` Calls[getNextMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getNextMediaItemIndex())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | ~~[getNextWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getNextWindowIndex())~~`()` **This function is deprecated.** Use[getNextMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getNextMediaItemIndex())instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [getPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPlayWhenReady())`()` Calls[getPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayWhenReady())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackParameters)`!`             | [getPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPlaybackParameters())`()` Calls[getPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackParameters())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getPlaybackState](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPlaybackState())`()` Calls[getPlaybackState](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackState())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getPlaybackSuppressionReason](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPlaybackSuppressionReason())`()` Calls[getPlaybackSuppressionReason](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackSuppressionReason())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [PlaybackException](https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackException)`?`               | [getPlayerError](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPlayerError())`()` Calls[getPlayerError](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayerError())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [MediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata)`!`                       | [getPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPlaylistMetadata())`()` Calls[getPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaylistMetadata())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getPreviousMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPreviousMediaItemIndex())`()` Calls[getPreviousMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPreviousMediaItemIndex())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | ~~[getPreviousWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPreviousWindowIndex())~~`()` **This function is deprecated.** Use[getPreviousMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPreviousMediaItemIndex())instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                   | [getRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getRepeatMode())`()` Calls[getRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getRepeatMode())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getSeekBackIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getSeekBackIncrement())`()` Calls[getSeekBackIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSeekBackIncrement())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getSeekForwardIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getSeekForwardIncrement())`()` Calls[getSeekForwardIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSeekForwardIncrement())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [getShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getShuffleModeEnabled())`()` Calls[getShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getShuffleModeEnabled())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Size](https://developer.android.com/reference/kotlin/androidx/media3/common/util/Size)`!`                                    | [getSurfaceSize](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getSurfaceSize())`()` Calls[getSurfaceSize](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSurfaceSize())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)                                                 | [getTotalBufferedDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getTotalBufferedDuration())`()` Calls[getTotalBufferedDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getTotalBufferedDuration())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [TrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/TrackSelectionParameters)`!` | [getTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getTrackSelectionParameters())`()` Calls[getTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getTrackSelectionParameters())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [VideoSize](https://developer.android.com/reference/kotlin/androidx/media3/common/VideoSize)`!`                               | [getVideoSize](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getVideoSize())`()` Calls[getVideoSize](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getVideoSize())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)                                               | [getVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getVolume())`()` Calls[getVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getVolume())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)`!`                                     | [getWrappedPlayer](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getWrappedPlayer())`()` Returns the[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)to which operations are forwarded.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [hasNextMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#hasNextMediaItem())`()` Calls[hasNextMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#hasNextMediaItem())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [hasPreviousMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#hasPreviousMediaItem())`()` Calls[hasPreviousMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#hasPreviousMediaItem())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | ~~[increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#increaseDeviceVolume())~~`()` **This function is deprecated.** Use[increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#increaseDeviceVolume(int))instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#increaseDeviceVolume(int))`(@`[C.VolumeFlags](https://developer.android.com/reference/kotlin/androidx/media3/common/C.VolumeFlags)` flags: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#increaseDeviceVolume(int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isCommandAvailable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCommandAvailable(int))`(@`[Player.Command](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Command)` command: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[isCommandAvailable](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCommandAvailable(int))on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isCurrentMediaItemDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemDynamic())`()` Calls[isCurrentMediaItemDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentMediaItemDynamic())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isCurrentMediaItemLive](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemLive())`()` Calls[isCurrentMediaItemLive](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentMediaItemLive())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isCurrentMediaItemSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemSeekable())`()` Calls[isCurrentMediaItemSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentMediaItemSeekable())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | ~~[isCurrentWindowDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentWindowDynamic())~~`()` **This function is deprecated.** Use[isCurrentMediaItemDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemDynamic())instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | ~~[isCurrentWindowLive](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentWindowLive())~~`()` **This function is deprecated.** Use[isCurrentMediaItemLive](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemLive())instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | ~~[isCurrentWindowSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentWindowSeekable())~~`()` **This function is deprecated.** Use[isCurrentMediaItemSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemSeekable())instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isDeviceMuted())`()` Calls[isDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isDeviceMuted())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isLoading](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isLoading())`()` Calls[isLoading](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isLoading())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isPlaying](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isPlaying())`()` Calls[isPlaying](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isPlaying())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                           | [isPlayingAd](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isPlayingAd())`()` Calls[isPlayingAd](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isPlayingAd())on the delegate and returns the result.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [moveMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#moveMediaItem(int,int))`(currentIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, newIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[moveMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#moveMediaItem(int,int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [moveMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#moveMediaItems(int,int,int))`(fromIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, toIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, newIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[moveMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#moveMediaItems(int,int,int))on the delegate.                                                                                                                                                                                                                                                                                                                                              |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [mute](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#mute())`()` Calls[mute](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#mute())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [pause](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#pause())`()` Calls[pause](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#pause())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [play](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#play())`()` Calls[play](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#play())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [prepare](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#prepare())`()` Calls[prepare](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#prepare())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [release](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#release())`()` Calls[release](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#release())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [removeListener](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#removeListener(androidx.media3.common.Player.Listener))`(listener: `[Player.Listener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener)`!)` Calls[removeListener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#removeListener(androidx.media3.common.Player.Listener))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [removeMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#removeMediaItem(int))`(index: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[removeMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#removeMediaItem(int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [removeMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#removeMediaItems(int,int))`(fromIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, toIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[removeMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#removeMediaItems(int,int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [replaceMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#replaceMediaItem(int,androidx.media3.common.MediaItem))`(index: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!)` Calls[replaceMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#replaceMediaItem(int,androidx.media3.common.MediaItem))on the delegate.                                                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [replaceMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#replaceMediaItems(int,int,java.util.List<androidx.media3.common.MediaItem>))`(` ` fromIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` toIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` mediaItems: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!>!` `)` Calls[replaceMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#replaceMediaItems(int,int,java.util.List<androidx.media3.common.MediaItem>))on the delegate. |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekBack](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekBack())`()` Calls[seekBack](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekBack())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekForward](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekForward())`()` Calls[seekForward](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekForward())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekTo](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekTo(long))`(positionMs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` Calls[seekTo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekTo(long))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekTo](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekTo(int,long))`(mediaItemIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, positionMs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` Calls[seekTo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekTo(int,long))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekToDefaultPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekToDefaultPosition())`()` Calls[seekToDefaultPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToDefaultPosition())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekToDefaultPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekToDefaultPosition(int))`(mediaItemIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[seekToDefaultPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToDefaultPosition(int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekToNext](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekToNext())`()` Calls[seekToNext](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToNext())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekToNextMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekToNextMediaItem())`()` Calls[seekToNextMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToNextMediaItem())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekToPrevious](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekToPrevious())`()` Calls[seekToPrevious](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToPrevious())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [seekToPreviousMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#seekToPreviousMediaItem())`()` Calls[seekToPreviousMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToPreviousMediaItem())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setAudioAttributes(androidx.media3.common.AudioAttributes,boolean))`(` ` audioAttributes: `[AudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/AudioAttributes)`!,` ` handleAudioFocus: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) `)` Calls[setAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setAudioAttributes(androidx.media3.common.AudioAttributes,boolean))on the delegate.                                                                                                                                                                                                                                                                                    |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | ~~[setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceMuted(boolean))~~`(muted: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` **This function is deprecated.** Use[setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceMuted(boolean,int))instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceMuted(boolean,int))`(muted: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`, @`[C.VolumeFlags](https://developer.android.com/reference/kotlin/androidx/media3/common/C.VolumeFlags)` flags: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setDeviceMuted(boolean,int))on the delegate.                                                                                                                                                                                                                                                                                                                             |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | ~~[setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceVolume(int))~~`(volume: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` **This function is deprecated.** Use[setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceVolume(int,int))instead. <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceVolume(int,int))`(volume: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`, @`[C.VolumeFlags](https://developer.android.com/reference/kotlin/androidx/media3/common/C.VolumeFlags)` flags: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setDeviceVolume(int,int))on the delegate.                                                                                                                                                                                                                                                                                                                                        |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setMediaItem(androidx.media3.common.MediaItem))`(mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!)` Calls[setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItem(androidx.media3.common.MediaItem))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setMediaItem(androidx.media3.common.MediaItem,boolean))`(mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!, resetPosition: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Calls[setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItem(androidx.media3.common.MediaItem,boolean))on the delegate.                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setMediaItem(androidx.media3.common.MediaItem,long))`(mediaItem: `[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!, startPositionMs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)`)` Calls[setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItem(androidx.media3.common.MediaItem,long))on the delegate.                                                                                                                                                                                                                                                                                                                                                               |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setMediaItems(java.util.List<androidx.media3.common.MediaItem>))`(mediaItems: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!>!)` Calls[setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItems(java.util.List<androidx.media3.common.MediaItem>))on the delegate.                                                                                                                                                                                                                                |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setMediaItems(java.util.List<androidx.media3.common.MediaItem>,boolean))`(` ` mediaItems: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!>!,` ` resetPosition: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) `)` Calls[setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItems(java.util.List<androidx.media3.common.MediaItem>,boolean))()} on the delegate.                                                                                              |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setMediaItems(java.util.List<androidx.media3.common.MediaItem>,int,long))`(` ` mediaItems: (`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)`!>!,` ` startIndex: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`,` ` startPositionMs: `[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) `)` Calls[setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItems(java.util.List<androidx.media3.common.MediaItem>,int,long))on the delegate.      |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setPlayWhenReady(boolean))`(playWhenReady: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Calls[setPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlayWhenReady(boolean))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setPlaybackParameters(androidx.media3.common.PlaybackParameters))`(playbackParameters: `[PlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackParameters)`!)` Calls[setPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlaybackParameters(androidx.media3.common.PlaybackParameters))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                          |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setPlaybackSpeed](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setPlaybackSpeed(float))`(speed: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Calls[setPlaybackSpeed](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlaybackSpeed(float))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setPlaylistMetadata(androidx.media3.common.MediaMetadata))`(mediaMetadata: `[MediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata)`!)` Calls[setPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlaylistMetadata(androidx.media3.common.MediaMetadata))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setRepeatMode(int))`(@`[Player.RepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.RepeatMode)` repeatMode: `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`)` Calls[setRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setRepeatMode(int))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setShuffleModeEnabled(boolean))`(shuffleModeEnabled: `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)`)` Calls[setShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setShuffleModeEnabled(boolean))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setTrackSelectionParameters(androidx.media3.common.TrackSelectionParameters))`(parameters: `[TrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/TrackSelectionParameters)`!)` Calls[setTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setTrackSelectionParameters(androidx.media3.common.TrackSelectionParameters))on the delegate.                                                                                                                                                                                                                                                                                                                                                  |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setVideoSurface(android.view.Surface))`(surface: `[Surface](https://developer.android.com/reference/android/view/Surface.html)`?)` Calls[setVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoSurface(android.view.Surface))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setVideoSurfaceHolder](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setVideoSurfaceHolder(android.view.SurfaceHolder))`(surfaceHolder: `[SurfaceHolder](https://developer.android.com/reference/android/view/SurfaceHolder.html)`?)` Calls[setVideoSurfaceHolder](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoSurfaceHolder(android.view.SurfaceHolder))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setVideoSurfaceView](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setVideoSurfaceView(android.view.SurfaceView))`(surfaceView: `[SurfaceView](https://developer.android.com/reference/android/view/SurfaceView.html)`?)` Calls[setVideoSurfaceView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoSurfaceView(android.view.SurfaceView))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setVideoTextureView](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setVideoTextureView(android.view.TextureView))`(textureView: `[TextureView](https://developer.android.com/reference/android/view/TextureView.html)`?)` Calls[setVideoTextureView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoTextureView(android.view.TextureView))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [setVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setVolume(float))`(volume: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` Calls[setVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVolume(float))on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [stop](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#stop())`()` Calls[stop](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#stop())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)                                                 | [unmute](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#unmute())`()` Calls[unmute](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#unmute())on the delegate.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ### Inherited Constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From[androidx.media3.common.Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player) |-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_ADJUST_DEVICE_VOLUME](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_ADJUST_DEVICE_VOLUME())` = 26` **This property is deprecated.** Use[COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGS())instead. <br />                                                                                                       | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGS())` = 34` Command to increase and decrease the device volume and mute it with volume flags.                                                                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_CHANGE_MEDIA_ITEMS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_CHANGE_MEDIA_ITEMS())` = 20` Command to change the[media items](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)in the playlist.                                                                                                                                                                                            | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_AUDIO_ATTRIBUTES](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_AUDIO_ATTRIBUTES())` = 21` Command to get the player current[AudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/AudioAttributes).                                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_CURRENT_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_CURRENT_MEDIA_ITEM())` = 16` Command to get information about the currently playing[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_DEVICE_VOLUME](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_DEVICE_VOLUME())` = 23` Command to get the device volume and whether it is muted.                                                                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_MEDIA_ITEMS_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_MEDIA_ITEMS_METADATA())` = 18` **This property is deprecated.** Use[COMMAND_GET_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_METADATA())instead. <br />                                                                                                                                     | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_METADATA())` = 18` Command to get metadata related to the playlist and current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_TEXT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_TEXT())` = 28` Command to get the text that should currently be displayed by the player.                                                                                                                                                                                                                                                                          | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_TIMELINE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_TIMELINE())` = 17` Command to get the information about the current timeline.                                                                                                                                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_TRACKS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_TRACKS())` = 30` Command to get details of the current track selection.                                                                                                                                                                                                                                                                                         | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_GET_VOLUME](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_GET_VOLUME())` = 22` Command to get the player volume.                                                                                                                                                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_INVALID](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_INVALID())` = -1` Represents an invalid[Command](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Command).                                                                                                                                                                                                                                | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_PLAY_PAUSE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_PLAY_PAUSE())` = 1` Command to start, pause or resume playback.                                                                                                                                                                                                                                                                                                     | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_PREPARE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_PREPARE())` = 2` Command to prepare the player.                                                                                                                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_RELEASE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_RELEASE())` = 32` Command to release the player.                                                                                                                                                                                                                                                                                                                       | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_BACK](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_BACK())` = 11` Command to seek back by a fixed increment inside the current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_FORWARD](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_FORWARD())` = 12` Command to seek forward by a fixed increment inside the current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM())` = 5` Command to seek anywhere inside the current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | `@`[UnstableApi](https://developer.android.com/reference/kotlin/androidx/media3/common/util/UnstableApi) [COMMAND_SEEK_IN_CURRENT_WINDOW](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_IN_CURRENT_WINDOW())` = 5` **This property is deprecated.** Use[COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_IN_CURRENT_MEDIA_ITEM())instead. <br />     | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_TO_DEFAULT_POSITION](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_DEFAULT_POSITION())` = 4` Command to seek to the default position of the current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_TO_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_MEDIA_ITEM())` = 10` Command to seek anywhere in any[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_TO_NEXT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_NEXT())` = 9` Command to seek to a later position in the current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)or the default position of the next[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_TO_NEXT_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_NEXT_MEDIA_ITEM())` = 8` Command to seek to the default position of the next[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                      | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | `@`[UnstableApi](https://developer.android.com/reference/kotlin/androidx/media3/common/util/UnstableApi) [COMMAND_SEEK_TO_NEXT_WINDOW](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_NEXT_WINDOW())` = 8` **This property is deprecated.** Use[COMMAND_SEEK_TO_NEXT_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_NEXT_MEDIA_ITEM())instead. <br />                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_TO_PREVIOUS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_PREVIOUS())` = 7` Command to seek to an earlier position in the current[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)or the default position of the previous[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM())` = 6` Command to seek to the default position of the previous[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                          | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | `@`[UnstableApi](https://developer.android.com/reference/kotlin/androidx/media3/common/util/UnstableApi) [COMMAND_SEEK_TO_PREVIOUS_WINDOW](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_PREVIOUS_WINDOW())` = 6` **This property is deprecated.** Use[COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEM())instead. <br /> | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | `@`[UnstableApi](https://developer.android.com/reference/kotlin/androidx/media3/common/util/UnstableApi) [COMMAND_SEEK_TO_WINDOW](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_WINDOW())` = 10` **This property is deprecated.** Use[COMMAND_SEEK_TO_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SEEK_TO_MEDIA_ITEM())instead. <br />                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_AUDIO_ATTRIBUTES](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_AUDIO_ATTRIBUTES())` = 35` Command to set the player's audio attributes.                                                                                                                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_DEVICE_VOLUME](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_DEVICE_VOLUME())` = 25` **This property is deprecated.** Use[COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS())instead. <br />                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_DEVICE_VOLUME_WITH_FLAGS())` = 33` Command to set the device volume with volume flags.                                                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_MEDIA_ITEM())` = 31` Command to set a[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem).                                                                                                                                                                                                                          | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_MEDIA_ITEMS_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_MEDIA_ITEMS_METADATA())` = 19` **This property is deprecated.** Use[COMMAND_SET_PLAYLIST_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_PLAYLIST_METADATA())instead. <br />                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_PLAYLIST_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_PLAYLIST_METADATA())` = 19` Command to set the playlist metadata.                                                                                                                                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_REPEAT_MODE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_REPEAT_MODE())` = 15` Command to set the repeat mode.                                                                                                                                                                                                                                                                                                      | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_SHUFFLE_MODE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_SHUFFLE_MODE())` = 14` Command to enable shuffling.                                                                                                                                                                                                                                                                                                       | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_SPEED_AND_PITCH](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_SPEED_AND_PITCH())` = 13` Command to set the playback speed and pitch.                                                                                                                                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_TRACK_SELECTION_PARAMETERS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_TRACK_SELECTION_PARAMETERS())` = 29` Command to set the player's track selection parameters.                                                                                                                                                                                                                                                | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_VIDEO_SURFACE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_VIDEO_SURFACE())` = 27` Command to set and clear the surface on which to render the video.                                                                                                                                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_SET_VOLUME](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_SET_VOLUME())` = 24` Command to set the player volume.                                                                                                                                                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [COMMAND_STOP](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#COMMAND_STOP())` = 3` Command to stop playback.                                                                                                                                                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_AUTO_TRANSITION](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_AUTO_TRANSITION())` = 0` Automatic playback transition from one period in the timeline to the next.                                                                                                                                                                                                                                  | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_INTERNAL](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_INTERNAL())` = 5` Discontinuity introduced internally (e.g. by the source).                                                                                                                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_REMOVE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_REMOVE())` = 4` Discontinuity caused by the removal of the current period from the[Timeline](https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline).                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_SEEK](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_SEEK())` = 1` Seek within the current period or to another period.                                                                                                                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_SEEK_ADJUSTMENT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_SEEK_ADJUSTMENT())` = 2` Seek adjustment due to being unable to seek to the requested position or because the seek was permitted to be inexact.                                                                                                                                                                                      | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_SILENCE_SKIP](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_SILENCE_SKIP())` = 6` Discontinuity introduced by a skipped silence.                                                                                                                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [DISCONTINUITY_REASON_SKIP](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#DISCONTINUITY_REASON_SKIP())` = 3` Discontinuity introduced by a skipped period (for instance a skipped ad).                                                                                                                                                                                                                                                         | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_AUDIO_ATTRIBUTES_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_AUDIO_ATTRIBUTES_CHANGED())` = 20` [getAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAudioAttributes())changed.                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_AUDIO_SESSION_ID](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_AUDIO_SESSION_ID())` = 21` The audio session id was set.                                                                                                                                                                                                                                                                                                          | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_AVAILABLE_COMMANDS_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_AVAILABLE_COMMANDS_CHANGED())` = 13` [isCommandAvailable](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCommandAvailable(int))changed for at least one[Command](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Command).                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_CUES](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_CUES())` = 27` [getCurrentCues](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentCues())changed.                                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_DEVICE_INFO_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_DEVICE_INFO_CHANGED())` = 29` [getDeviceInfo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDeviceInfo())changed.                                                                                                                                                                                                            | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_DEVICE_VOLUME_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_DEVICE_VOLUME_CHANGED())` = 30` [getDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDeviceVolume())or[isDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isDeviceMuted())changed.                                                                                     | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_IS_LOADING_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_IS_LOADING_CHANGED())` = 3` [isLoading](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isLoading())()} changed.                                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_IS_PLAYING_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_IS_PLAYING_CHANGED())` = 7` [isPlaying](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isPlaying())changed.                                                                                                                                                                                                                       | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_MAX_SEEK_TO_PREVIOUS_POSITION_CHANGED())` = 18` [getMaxSeekToPreviousPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMaxSeekToPreviousPosition())changed.                                                                                                                                          | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_MEDIA_ITEM_TRANSITION](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_MEDIA_ITEM_TRANSITION())` = 1` [getCurrentMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentMediaItem())changed or the player started repeating the current item.                                                                                                                                            | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_MEDIA_METADATA_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_MEDIA_METADATA_CHANGED())` = 14` [getMediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaMetadata())changed.                                                                                                                                                                                                | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_METADATA](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_METADATA())` = 28` Metadata associated with the current playback time changed.                                                                                                                                                                                                                                                                                            | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_PLAYBACK_PARAMETERS_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_PLAYBACK_PARAMETERS_CHANGED())` = 12` [getPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackParameters())changed.                                                                                                                                                                            | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_PLAYBACK_STATE_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_PLAYBACK_STATE_CHANGED())` = 4` [getPlaybackState](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackState())changed.                                                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_PLAYBACK_SUPPRESSION_REASON_CHANGED())` = 6` [getPlaybackSuppressionReason](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackSuppressionReason())changed.                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_PLAYER_ERROR](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_PLAYER_ERROR())` = 10` [getPlayerError](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayerError())changed.                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_PLAYLIST_METADATA_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_PLAYLIST_METADATA_CHANGED())` = 15` [getPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaylistMetadata())changed.                                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_PLAY_WHEN_READY_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_PLAY_WHEN_READY_CHANGED())` = 5` [getPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayWhenReady())changed.                                                                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_POSITION_DISCONTINUITY](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_POSITION_DISCONTINUITY())` = 11` A position discontinuity occurred.                                                                                                                                                                                                                                                                                         | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_RENDERED_FIRST_FRAME](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_RENDERED_FIRST_FRAME())` = 26` A frame is rendered for the first time since setting the surface, or since the renderer was reset, or since the stream being rendered was changed.                                                                                                                                                                             | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_REPEAT_MODE_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_REPEAT_MODE_CHANGED())` = 8` [getRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getRepeatMode())changed.                                                                                                                                                                                                             | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_SEEK_BACK_INCREMENT_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_SEEK_BACK_INCREMENT_CHANGED())` = 16` [getSeekBackIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSeekBackIncrement())changed.                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_SEEK_FORWARD_INCREMENT_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_SEEK_FORWARD_INCREMENT_CHANGED())` = 17` [getSeekForwardIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSeekForwardIncrement())changed.                                                                                                                                                                  | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_SHUFFLE_MODE_ENABLED_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_SHUFFLE_MODE_ENABLED_CHANGED())` = 9` [getShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getShuffleModeEnabled())changed.                                                                                                                                                                           | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_SKIP_SILENCE_ENABLED_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_SKIP_SILENCE_ENABLED_CHANGED())` = 23` Skipping silences in the audio stream is enabled or disabled.                                                                                                                                                                                                                                                  | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_SURFACE_SIZE_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_SURFACE_SIZE_CHANGED())` = 24` The size of the surface onto which the video is being rendered changed.                                                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_TIMELINE_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_TIMELINE_CHANGED())` = 0` [getCurrentTimeline](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentTimeline())changed.                                                                                                                                                                                                         | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_TRACKS_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_TRACKS_CHANGED())` = 2` [getCurrentTracks](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentTracks())changed.                                                                                                                                                                                                                 | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_TRACK_SELECTION_PARAMETERS_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_TRACK_SELECTION_PARAMETERS_CHANGED())` = 19` [getTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getTrackSelectionParameters())changed.                                                                                                                                                  | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_VIDEO_SIZE_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_VIDEO_SIZE_CHANGED())` = 25` [getVideoSize](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getVideoSize())changed.                                                                                                                                                                                                                | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVENT_VOLUME_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#EVENT_VOLUME_CHANGED())` = 22` [getVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getVolume())changed.                                                                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [MEDIA_ITEM_TRANSITION_REASON_AUTO](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#MEDIA_ITEM_TRANSITION_REASON_AUTO())` = 1` Playback has automatically transitioned to the next media item.                                                                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#MEDIA_ITEM_TRANSITION_REASON_PLAYLIST_CHANGED())` = 3` The current media item has changed because of a change in the playlist.                                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [MEDIA_ITEM_TRANSITION_REASON_REPEAT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#MEDIA_ITEM_TRANSITION_REASON_REPEAT())` = 0` The media item has been repeated.                                                                                                                                                                                                                                                                             | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [MEDIA_ITEM_TRANSITION_REASON_SEEK](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#MEDIA_ITEM_TRANSITION_REASON_SEEK())` = 2` A seek to another media item has occurred.                                                                                                                                                                                                                                                                        | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAYBACK_SUPPRESSION_REASON_NONE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_NONE())` = 0` Playback is not suppressed.                                                                                                                                                                                                                                                                                         | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAYBACK_SUPPRESSION_REASON_SCRUBBING](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_SCRUBBING())` = 4` Playback is suppressed because the player is currently scrubbing.                                                                                                                                                                                                                                         | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS())` = 1` Playback is suppressed due to transient audio focus loss.                                                                                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT())` = 3` Playback is suppressed due to attempt to play on an unsuitable audio output (e.g. attempt to play on built-in speaker on a Wear OS device).                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_ROUTE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_ROUTE())` = 2` **This property is deprecated.** Use[PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAYBACK_SUPPRESSION_REASON_UNSUITABLE_AUDIO_OUTPUT())instead. <br />                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_AUDIO_BECOMING_NOISY())` = 3` Playback has been paused to avoid becoming noisy.                                                                                                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_AUDIO_FOCUS_LOSS())` = 2` Playback has been paused because of a loss of audio focus.                                                                                                                                                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM())` = 5` Playback has been paused at the end of a media item.                                                                                                                                                                                                                                  | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAY_WHEN_READY_CHANGE_REASON_REMOTE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_REMOTE())` = 4` Playback has been started or paused because of a remote change.                                                                                                                                                                                                                                             | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAY_WHEN_READY_CHANGE_REASON_SUPPRESSED_TOO_LONG](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_SUPPRESSED_TOO_LONG())` = 6` Playback has been paused because playback has been[suppressed](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackSuppressionReason())too long.                                                                                              | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST())` = 1` Playback has been started or paused by a call to[setPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlayWhenReady(boolean)).                                                                                                                     | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REPEAT_MODE_ALL](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#REPEAT_MODE_ALL())` = 2` Repeats the entire timeline infinitely.                                                                                                                                                                                                                                                                                                               | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REPEAT_MODE_OFF](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#REPEAT_MODE_OFF())` = 0` Normal playback without repetition.                                                                                                                                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [REPEAT_MODE_ONE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#REPEAT_MODE_ONE())` = 1` Repeats the currently playing[MediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/MediaItem)infinitely during ongoing playback.                                                                                                                                                                                          | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [STATE_BUFFERING](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#STATE_BUFFERING())` = 2` The player is not able to immediately play the media, but is doing work toward being able to do so.                                                                                                                                                                                                                                                   | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [STATE_ENDED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#STATE_ENDED())` = 4` The player has finished playing the media.                                                                                                                                                                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [STATE_IDLE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#STATE_IDLE())` = 1` The player is idle, meaning it holds only limited resources.                                                                                                                                                                                                                                                                                                    | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [STATE_READY](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#STATE_READY())` = 3` The player is able to immediately play from its current position.                                                                                                                                                                                                                                                                                             | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#TIMELINE_CHANGE_REASON_PLAYLIST_CHANGED())` = 0` Timeline changed as a result of a change of the playlist items or the order of the items.                                                                                                                                                                                                             | | `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [TIMELINE_CHANGE_REASON_SOURCE_UPDATE](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#TIMELINE_CHANGE_REASON_SOURCE_UPDATE())` = 1` Timeline changed as a result of a source update (e.g. result of a dynamic update by the played media).                                                                                                                                                                                                      | |

## Public constructors

### ForwardingPlayer

```
ForwardingPlayer(player: Player!)
```

Creates a new instance that forwards all operations to`player`.  

## Public functions

### addListener

```
fun addListener(listener: Player.Listener!): Unit
```

Calls[addListener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addListener(androidx.media3.common.Player.Listener))on the delegate.

Overrides of this method must**not** directly call`
delegate.addListener`. If the override wants to pass the[Player.Listener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener)instance to the delegate[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player), it must do so by calling`super.addListener`instead. This ensures the correct[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)instance is passed to[onEvents](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener#onEvents(androidx.media3.common.Player,androidx.media3.common.Player.Events))(i.e. this forwarding instance, and not the underlying`delegate`instance).  

### addMediaItem

```
fun addMediaItem(mediaItem: MediaItem!): Unit
```

Calls[addMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItem(androidx.media3.common.MediaItem))on the delegate.  

### addMediaItem

```
fun addMediaItem(index: Int, mediaItem: MediaItem!): Unit
```

Calls[addMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItem(int,androidx.media3.common.MediaItem))on the delegate.  

### addMediaItems

```
fun addMediaItems(mediaItems: (Mutable)List<MediaItem!>!): Unit
```

Calls[addMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItems(java.util.List<androidx.media3.common.MediaItem>))on the delegate.  

### addMediaItems

```
fun addMediaItems(index: Int, mediaItems: (Mutable)List<MediaItem!>!): Unit
```

Calls[addMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#addMediaItems(int,java.util.List<androidx.media3.common.MediaItem>))on the delegate.  

### canAdvertiseSession

```
fun canAdvertiseSession(): Boolean
```

Calls[canAdvertiseSession](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#canAdvertiseSession())on the delegate and returns the result.  

### clearMediaItems

```
fun clearMediaItems(): Unit
```

Calls[clearMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearMediaItems())on the delegate.  

### clearVideoSurface

```
fun clearVideoSurface(): Unit
```

Calls[clearVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurface())on the delegate.  

### clearVideoSurface

```
fun clearVideoSurface(surface: Surface?): Unit
```

Calls[clearVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurface(android.view.Surface))on the delegate.  

### clearVideoSurfaceHolder

```
fun clearVideoSurfaceHolder(surfaceHolder: SurfaceHolder?): Unit
```

Calls[clearVideoSurfaceHolder](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurfaceHolder(android.view.SurfaceHolder))on the delegate.  

### clearVideoSurfaceView

```
fun clearVideoSurfaceView(surfaceView: SurfaceView?): Unit
```

Calls[clearVideoSurfaceView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoSurfaceView(android.view.SurfaceView))on the delegate.  

### clearVideoTextureView

```
fun clearVideoTextureView(textureView: TextureView?): Unit
```

Calls[clearVideoTextureView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#clearVideoTextureView(android.view.TextureView))on the delegate.  

### decreaseDeviceVolume

```
fun [decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#decreaseDeviceVolume())(): Unit
```
| **This function is deprecated.**   
|
Use[decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#decreaseDeviceVolume(int))instead.  

### decreaseDeviceVolume

```
fun decreaseDeviceVolume(@C.VolumeFlags flags: Int): Unit
```

Calls[decreaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#decreaseDeviceVolume(int))on the delegate.  

### getApplicationLooper

```
fun getApplicationLooper(): Looper!
```

Calls[getApplicationLooper](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getApplicationLooper())on the delegate and returns the result.  

### getAudioAttributes

```
fun getAudioAttributes(): AudioAttributes!
```

Calls[getAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAudioAttributes())on the delegate and returns the result.  

### getAudioSessionId

```
fun getAudioSessionId(): Int
```

Calls[getAudioSessionId](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAudioSessionId())on the delegate and returns the result.  

### getAvailableCommands

```
fun getAvailableCommands(): Player.Commands!
```

Calls[getAvailableCommands](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getAvailableCommands())on the delegate and returns the result.  

### getBufferedPercentage

```
fun getBufferedPercentage(): Int
```

Calls[getBufferedPercentage](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getBufferedPercentage())on the delegate and returns the result.  

### getBufferedPosition

```
fun getBufferedPosition(): Long
```

Calls[getBufferedPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getBufferedPosition())on the delegate and returns the result.  

### getContentBufferedPosition

```
fun getContentBufferedPosition(): Long
```

Calls[getContentBufferedPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getContentBufferedPosition())on the delegate and returns the result.  

### getContentDuration

```
fun getContentDuration(): Long
```

Calls[getContentDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getContentDuration())on the delegate and returns the result.  

### getContentPosition

```
fun getContentPosition(): Long
```

Calls[getContentPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getContentPosition())on the delegate and returns the result.  

### getCurrentAdGroupIndex

```
fun getCurrentAdGroupIndex(): Int
```

Calls[getCurrentAdGroupIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentAdGroupIndex())on the delegate and returns the result.  

### getCurrentAdIndexInAdGroup

```
fun getCurrentAdIndexInAdGroup(): Int
```

Calls[getCurrentAdIndexInAdGroup](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentAdIndexInAdGroup())on the delegate and returns the result.  

### getCurrentCues

```
fun getCurrentCues(): CueGroup!
```

Calls[getCurrentCues](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentCues())on the delegate and returns the result.  

### getCurrentLiveOffset

```
fun getCurrentLiveOffset(): Long
```

Calls[getCurrentLiveOffset](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentLiveOffset())on the delegate and returns the result.  

### getCurrentManifest

```
fun getCurrentManifest(): Any?
```

Calls[getCurrentManifest](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentManifest())on the delegate and returns the result.  

### getCurrentMediaItem

```
fun getCurrentMediaItem(): MediaItem?
```

Calls[getCurrentMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentMediaItem())on the delegate and returns the result.  

### getCurrentMediaItemIndex

```
fun getCurrentMediaItemIndex(): Int
```

Calls[getCurrentMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentMediaItemIndex())on the delegate and returns the result.  

### getCurrentPeriodIndex

```
fun getCurrentPeriodIndex(): Int
```

Calls[getCurrentPeriodIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentPeriodIndex())on the delegate and returns the result.  

### getCurrentPosition

```
fun getCurrentPosition(): Long
```

Calls[getCurrentPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentPosition())on the delegate and returns the result.  

### getCurrentTimeline

```
fun getCurrentTimeline(): Timeline!
```

Calls[getCurrentTimeline](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentTimeline())on the delegate and returns the result.  

### getCurrentTracks

```
fun getCurrentTracks(): Tracks!
```

Calls[getCurrentTracks](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentTracks())on the delegate and returns the result.  

### getCurrentWindowIndex

```
fun [getCurrentWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentWindowIndex())(): Int
```
| **This function is deprecated.**   
|
| Use[getCurrentMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getCurrentMediaItemIndex())instead.

Calls[getCurrentWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getCurrentWindowIndex())on the delegate and returns the result.  

### getDeviceInfo

```
fun getDeviceInfo(): DeviceInfo!
```

Calls[getDeviceInfo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDeviceInfo())on the delegate and returns the result.  

### getDeviceVolume

```
fun getDeviceVolume(): Int
```

Calls[getDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDeviceVolume())on the delegate and returns the result.  

### getDuration

```
fun getDuration(): Long
```

Calls[getDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getDuration())on the delegate and returns the result.  

### getMaxSeekToPreviousPosition

```
fun getMaxSeekToPreviousPosition(): Long
```

Calls[getMaxSeekToPreviousPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMaxSeekToPreviousPosition())on the delegate and returns the result.  

### getMediaItemAt

```
fun getMediaItemAt(index: Int): MediaItem!
```

Calls[getMediaItemAt](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaItemAt(int))on the delegate and returns the result.  

### getMediaItemCount

```
fun getMediaItemCount(): Int
```

Calls[getMediaItemCount](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaItemCount())on the delegate and returns the result.  

### getMediaMetadata

```
fun getMediaMetadata(): MediaMetadata!
```

Calls[getMediaMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getMediaMetadata())on the delegate and returns the result.  

### getNextMediaItemIndex

```
fun getNextMediaItemIndex(): Int
```

Calls[getNextMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getNextMediaItemIndex())on the delegate and returns the result.  

### getNextWindowIndex

```
fun [getNextWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getNextWindowIndex())(): Int
```
| **This function is deprecated.**   
|
| Use[getNextMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getNextMediaItemIndex())instead.

Calls[getNextWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getNextWindowIndex())on the delegate and returns the result.  

### getPlayWhenReady

```
fun getPlayWhenReady(): Boolean
```

Calls[getPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayWhenReady())on the delegate and returns the result.  

### getPlaybackParameters

```
fun getPlaybackParameters(): PlaybackParameters!
```

Calls[getPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackParameters())on the delegate and returns the result.  

### getPlaybackState

```
fun getPlaybackState(): Int
```

Calls[getPlaybackState](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackState())on the delegate and returns the result.  

### getPlaybackSuppressionReason

```
fun getPlaybackSuppressionReason(): Int
```

Calls[getPlaybackSuppressionReason](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaybackSuppressionReason())on the delegate and returns the result.  

### getPlayerError

```
fun getPlayerError(): PlaybackException?
```

Calls[getPlayerError](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlayerError())on the delegate and returns the result.  

### getPlaylistMetadata

```
fun getPlaylistMetadata(): MediaMetadata!
```

Calls[getPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPlaylistMetadata())on the delegate and returns the result.  

### getPreviousMediaItemIndex

```
fun getPreviousMediaItemIndex(): Int
```

Calls[getPreviousMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPreviousMediaItemIndex())on the delegate and returns the result.  

### getPreviousWindowIndex

```
fun [getPreviousWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPreviousWindowIndex())(): Int
```
| **This function is deprecated.**   
|
| Use[getPreviousMediaItemIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#getPreviousMediaItemIndex())instead.

Calls[getPreviousWindowIndex](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getPreviousWindowIndex())on the delegate and returns the result.  

### getRepeatMode

```
fun getRepeatMode(): Int
```

Calls[getRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getRepeatMode())on the delegate and returns the result.  

### getSeekBackIncrement

```
fun getSeekBackIncrement(): Long
```

Calls[getSeekBackIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSeekBackIncrement())on the delegate and returns the result.  

### getSeekForwardIncrement

```
fun getSeekForwardIncrement(): Long
```

Calls[getSeekForwardIncrement](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSeekForwardIncrement())on the delegate and returns the result.  

### getShuffleModeEnabled

```
fun getShuffleModeEnabled(): Boolean
```

Calls[getShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getShuffleModeEnabled())on the delegate and returns the result.  

### getSurfaceSize

```
fun getSurfaceSize(): Size!
```

Calls[getSurfaceSize](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getSurfaceSize())on the delegate and returns the result.  

### getTotalBufferedDuration

```
fun getTotalBufferedDuration(): Long
```

Calls[getTotalBufferedDuration](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getTotalBufferedDuration())on the delegate and returns the result.  

### getTrackSelectionParameters

```
fun getTrackSelectionParameters(): TrackSelectionParameters!
```

Calls[getTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getTrackSelectionParameters())on the delegate and returns the result.  

### getVideoSize

```
fun getVideoSize(): VideoSize!
```

Calls[getVideoSize](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getVideoSize())on the delegate and returns the result.  

### getVolume

```
fun getVolume(): Float
```

Calls[getVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#getVolume())on the delegate and returns the result.  

### getWrappedPlayer

```
fun getWrappedPlayer(): Player!
```

Returns the[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player)to which operations are forwarded.  

### hasNextMediaItem

```
fun hasNextMediaItem(): Boolean
```

Calls[hasNextMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#hasNextMediaItem())on the delegate and returns the result.  

### hasPreviousMediaItem

```
fun hasPreviousMediaItem(): Boolean
```

Calls[hasPreviousMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#hasPreviousMediaItem())on the delegate and returns the result.  

### increaseDeviceVolume

```
fun [increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#increaseDeviceVolume())(): Unit
```
| **This function is deprecated.**   
|
Use[increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#increaseDeviceVolume(int))instead.  

### increaseDeviceVolume

```
fun increaseDeviceVolume(@C.VolumeFlags flags: Int): Unit
```

Calls[increaseDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#increaseDeviceVolume(int))on the delegate.  

### isCommandAvailable

```
fun isCommandAvailable(@Player.Command command: Int): Boolean
```

Calls[isCommandAvailable](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCommandAvailable(int))on the delegate and returns the result.  

### isCurrentMediaItemDynamic

```
fun isCurrentMediaItemDynamic(): Boolean
```

Calls[isCurrentMediaItemDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentMediaItemDynamic())on the delegate and returns the result.  

### isCurrentMediaItemLive

```
fun isCurrentMediaItemLive(): Boolean
```

Calls[isCurrentMediaItemLive](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentMediaItemLive())on the delegate and returns the result.  

### isCurrentMediaItemSeekable

```
fun isCurrentMediaItemSeekable(): Boolean
```

Calls[isCurrentMediaItemSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentMediaItemSeekable())on the delegate and returns the result.  

### isCurrentWindowDynamic

```
fun [isCurrentWindowDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentWindowDynamic())(): Boolean
```
| **This function is deprecated.**   
|
| Use[isCurrentMediaItemDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemDynamic())instead.

Calls[isCurrentWindowDynamic](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentWindowDynamic())on the delegate and returns the result.  

### isCurrentWindowLive

```
fun [isCurrentWindowLive](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentWindowLive())(): Boolean
```
| **This function is deprecated.**   
|
| Use[isCurrentMediaItemLive](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemLive())instead.

Calls[isCurrentWindowLive](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentWindowLive())on the delegate and returns the result.  

### isCurrentWindowSeekable

```
fun [isCurrentWindowSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentWindowSeekable())(): Boolean
```
| **This function is deprecated.**   
|
| Use[isCurrentMediaItemSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#isCurrentMediaItemSeekable())instead.

Calls[isCurrentWindowSeekable](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isCurrentWindowSeekable())on the delegate and returns the result.  

### isDeviceMuted

```
fun isDeviceMuted(): Boolean
```

Calls[isDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isDeviceMuted())on the delegate and returns the result.  

### isLoading

```
fun isLoading(): Boolean
```

Calls[isLoading](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isLoading())on the delegate and returns the result.  

### isPlaying

```
fun isPlaying(): Boolean
```

Calls[isPlaying](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isPlaying())on the delegate and returns the result.  

### isPlayingAd

```
fun isPlayingAd(): Boolean
```

Calls[isPlayingAd](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#isPlayingAd())on the delegate and returns the result.  

### moveMediaItem

```
fun moveMediaItem(currentIndex: Int, newIndex: Int): Unit
```

Calls[moveMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#moveMediaItem(int,int))on the delegate.  

### moveMediaItems

```
fun moveMediaItems(fromIndex: Int, toIndex: Int, newIndex: Int): Unit
```

Calls[moveMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#moveMediaItems(int,int,int))on the delegate.  

### mute

```
fun mute(): Unit
```

Calls[mute](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#mute())on the delegate.  

### pause

```
fun pause(): Unit
```

Calls[pause](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#pause())on the delegate.  

### play

```
fun play(): Unit
```

Calls[play](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#play())on the delegate.  

### prepare

```
fun prepare(): Unit
```

Calls[prepare](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#prepare())on the delegate.  

### release

```
fun release(): Unit
```

Calls[release](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#release())on the delegate.  

### removeListener

```
fun removeListener(listener: Player.Listener!): Unit
```

Calls[removeListener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#removeListener(androidx.media3.common.Player.Listener))on the delegate.

Overrides of this method must**not** directly call`
delegate.removeListener`. If the override wants to pass the[Player.Listener](https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Listener)instance to the delegate[Player](https://developer.android.com/reference/kotlin/androidx/media3/common/Player), it must do so by calling`super.removeListener`instead.  

### removeMediaItem

```
fun removeMediaItem(index: Int): Unit
```

Calls[removeMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#removeMediaItem(int))on the delegate.  

### removeMediaItems

```
fun removeMediaItems(fromIndex: Int, toIndex: Int): Unit
```

Calls[removeMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#removeMediaItems(int,int))on the delegate.  

### replaceMediaItem

```
fun replaceMediaItem(index: Int, mediaItem: MediaItem!): Unit
```

Calls[replaceMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#replaceMediaItem(int,androidx.media3.common.MediaItem))on the delegate.  

### replaceMediaItems

```
fun replaceMediaItems(
    fromIndex: Int,
    toIndex: Int,
    mediaItems: (Mutable)List<MediaItem!>!
): Unit
```

Calls[replaceMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#replaceMediaItems(int,int,java.util.List<androidx.media3.common.MediaItem>))on the delegate.  

### seekBack

```
fun seekBack(): Unit
```

Calls[seekBack](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekBack())on the delegate.  

### seekForward

```
fun seekForward(): Unit
```

Calls[seekForward](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekForward())on the delegate.  

### seekTo

```
fun seekTo(positionMs: Long): Unit
```

Calls[seekTo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekTo(long))on the delegate.  

### seekTo

```
fun seekTo(mediaItemIndex: Int, positionMs: Long): Unit
```

Calls[seekTo](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekTo(int,long))on the delegate.  

### seekToDefaultPosition

```
fun seekToDefaultPosition(): Unit
```

Calls[seekToDefaultPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToDefaultPosition())on the delegate.  

### seekToDefaultPosition

```
fun seekToDefaultPosition(mediaItemIndex: Int): Unit
```

Calls[seekToDefaultPosition](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToDefaultPosition(int))on the delegate.  

### seekToNext

```
fun seekToNext(): Unit
```

Calls[seekToNext](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToNext())on the delegate.  

### seekToNextMediaItem

```
fun seekToNextMediaItem(): Unit
```

Calls[seekToNextMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToNextMediaItem())on the delegate.  

### seekToPrevious

```
fun seekToPrevious(): Unit
```

Calls[seekToPrevious](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToPrevious())on the delegate.  

### seekToPreviousMediaItem

```
fun seekToPreviousMediaItem(): Unit
```

Calls[seekToPreviousMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekToPreviousMediaItem())on the delegate.  

### setAudioAttributes

```
fun setAudioAttributes(
    audioAttributes: AudioAttributes!,
    handleAudioFocus: Boolean
): Unit
```

Calls[setAudioAttributes](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setAudioAttributes(androidx.media3.common.AudioAttributes,boolean))on the delegate.  

### setDeviceMuted

```
fun [setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceMuted(boolean))(muted: Boolean): Unit
```
| **This function is deprecated.**   
|
Use[setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceMuted(boolean,int))instead.  

### setDeviceMuted

```
fun setDeviceMuted(muted: Boolean, @C.VolumeFlags flags: Int): Unit
```

Calls[setDeviceMuted](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setDeviceMuted(boolean,int))on the delegate.  

### setDeviceVolume

```
fun [setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceVolume(int))(volume: Int): Unit
```
| **This function is deprecated.**   
|
Use[setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/ForwardingPlayer#setDeviceVolume(int,int))instead.  

### setDeviceVolume

```
fun setDeviceVolume(volume: Int, @C.VolumeFlags flags: Int): Unit
```

Calls[setDeviceVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setDeviceVolume(int,int))on the delegate.  

### setMediaItem

```
fun setMediaItem(mediaItem: MediaItem!): Unit
```

Calls[setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItem(androidx.media3.common.MediaItem))on the delegate.  

### setMediaItem

```
fun setMediaItem(mediaItem: MediaItem!, resetPosition: Boolean): Unit
```

Calls[setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItem(androidx.media3.common.MediaItem,boolean))on the delegate.  

### setMediaItem

```
fun setMediaItem(mediaItem: MediaItem!, startPositionMs: Long): Unit
```

Calls[setMediaItem](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItem(androidx.media3.common.MediaItem,long))on the delegate.  

### setMediaItems

```
fun setMediaItems(mediaItems: (Mutable)List<MediaItem!>!): Unit
```

Calls[setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItems(java.util.List<androidx.media3.common.MediaItem>))on the delegate.  

### setMediaItems

```
fun setMediaItems(
    mediaItems: (Mutable)List<MediaItem!>!,
    resetPosition: Boolean
): Unit
```

Calls[setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItems(java.util.List<androidx.media3.common.MediaItem>,boolean))()} on the delegate.  

### setMediaItems

```
fun setMediaItems(
    mediaItems: (Mutable)List<MediaItem!>!,
    startIndex: Int,
    startPositionMs: Long
): Unit
```

Calls[setMediaItems](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setMediaItems(java.util.List<androidx.media3.common.MediaItem>,int,long))on the delegate.  

### setPlayWhenReady

```
fun setPlayWhenReady(playWhenReady: Boolean): Unit
```

Calls[setPlayWhenReady](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlayWhenReady(boolean))on the delegate.  

### setPlaybackParameters

```
fun setPlaybackParameters(playbackParameters: PlaybackParameters!): Unit
```

Calls[setPlaybackParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlaybackParameters(androidx.media3.common.PlaybackParameters))on the delegate.  

### setPlaybackSpeed

```
fun setPlaybackSpeed(speed: Float): Unit
```

Calls[setPlaybackSpeed](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlaybackSpeed(float))on the delegate.  

### setPlaylistMetadata

```
fun setPlaylistMetadata(mediaMetadata: MediaMetadata!): Unit
```

Calls[setPlaylistMetadata](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setPlaylistMetadata(androidx.media3.common.MediaMetadata))on the delegate.  

### setRepeatMode

```
fun setRepeatMode(@Player.RepeatMode repeatMode: Int): Unit
```

Calls[setRepeatMode](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setRepeatMode(int))on the delegate.  

### setShuffleModeEnabled

```
fun setShuffleModeEnabled(shuffleModeEnabled: Boolean): Unit
```

Calls[setShuffleModeEnabled](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setShuffleModeEnabled(boolean))on the delegate.  

### setTrackSelectionParameters

```
fun setTrackSelectionParameters(parameters: TrackSelectionParameters!): Unit
```

Calls[setTrackSelectionParameters](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setTrackSelectionParameters(androidx.media3.common.TrackSelectionParameters))on the delegate.  

### setVideoSurface

```
fun setVideoSurface(surface: Surface?): Unit
```

Calls[setVideoSurface](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoSurface(android.view.Surface))on the delegate.  

### setVideoSurfaceHolder

```
fun setVideoSurfaceHolder(surfaceHolder: SurfaceHolder?): Unit
```

Calls[setVideoSurfaceHolder](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoSurfaceHolder(android.view.SurfaceHolder))on the delegate.  

### setVideoSurfaceView

```
fun setVideoSurfaceView(surfaceView: SurfaceView?): Unit
```

Calls[setVideoSurfaceView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoSurfaceView(android.view.SurfaceView))on the delegate.  

### setVideoTextureView

```
fun setVideoTextureView(textureView: TextureView?): Unit
```

Calls[setVideoTextureView](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVideoTextureView(android.view.TextureView))on the delegate.  

### setVolume

```
fun setVolume(volume: Float): Unit
```

Calls[setVolume](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#setVolume(float))on the delegate.  

### stop

```
fun stop(): Unit
```

Calls[stop](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#stop())on the delegate.  

### unmute

```
fun unmute(): Unit
```

Calls[unmute](https://developer.android.com/reference/kotlin/androidx/media3/common/Player#unmute())on the delegate.