# SimpleBasePlayer.State

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/SimpleBasePlayer.java+class:androidx.media3.common.SimpleBasePlayer.State)

*** ** * ** ***

<br />

```
class SimpleBasePlayer.State
```

<br />

*** ** * ** ***

An immutable state description of the player.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State.Builder` A builder for `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State` objects. |

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State.Builder!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#buildUpon()()` Returns a `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State.Builder` pre-populated with the current state values. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#equals(java.lang.Object)(o: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData!>!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#getPlaylist()()` Returns the list of `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData` for the current playlist. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#adBufferedPositionMsSupplier()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the estimated position up to which the currently playing ad is buffered, in milliseconds. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#adPositionMsSupplier()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the current ad playback position in milliseconds. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/AudioAttributes!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#audioAttributes()` The current `https://developer.android.com/reference/kotlin/androidx/media3/common/AudioAttributes`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#audioSessionId()` The current audio session ID. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Commands!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#availableCommands()` The available `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Commands`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#contentBufferedPositionMsSupplier()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the estimated position up to which the currently playing content is buffered, in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` to indicate the default start position. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#contentPositionMsSupplier()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the current content playback position in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` to indicate the default start position. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#currentAdGroupIndex()` The current ad group index, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET()` if no ad is playing. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#currentAdIndexInAdGroup()` The current ad index in the ad group, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET()` if no ad is playing. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/text/CueGroup!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#currentCues()` The current `https://developer.android.com/reference/kotlin/androidx/media3/common/text/CueGroup`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#currentMediaItemIndex()` The current media item index, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET()` to assume the default first item of the playlist is played. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#currentMetadata()` The current combined `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#currentTracks()` The current `https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/DeviceInfo!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#deviceInfo()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/DeviceInfo`. |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/IntRange(from = 0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#deviceVolume()` The current device volume. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#discontinuityPositionMs()` The position, in milliseconds, in the current content or ad from which playback continued after the discontinuity. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#hasPositionDiscontinuity()` Signals that a position discontinuity happened since the last update to the player. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#isDeviceMuted()` Whether the device is muted. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#isLoading()` Whether the player is currently loading its source. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#maxSeekToPreviousPositionMs()` The maximum position for which `https://developer.android.com/reference/kotlin/androidx/media3/common/BasePlayer#seekToPrevious()` seeks to the previous item, in milliseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#newlyRenderedFirstFrame()` Whether a frame has been rendered for the first time since setting the surface, a rendering reset, or since the stream being rendered was changed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playWhenReady()` Whether playback should proceed when ready and not suppressed. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `@https://developer.android.com/reference/kotlin/androidx/media3/common/Player.PlayWhenReadyChangeReason https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playWhenReadyChangeReason()` The last reason for changing `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playWhenReady()`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackParameters!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playbackParameters()` The currently active `https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackParameters`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `@https://developer.android.com/reference/kotlin/androidx/media3/common/Player.State https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playbackState()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.State` of the player. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `@https://developer.android.com/reference/kotlin/androidx/media3/common/Player.PlaybackSuppressionReason https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playbackSuppressionReason()` The reason why playback is suppressed even if `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer#getPlayWhenReady()` is true. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackException?` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playerError()` The last error that caused playback to fail, or null if there was no error. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playlistMetadata()` The playlist `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `@https://developer.android.com/reference/kotlin/androidx/media3/common/Player.DiscontinuityReason https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#positionDiscontinuityReason()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.DiscontinuityReason` for the last position discontinuity. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `@https://developer.android.com/reference/kotlin/androidx/media3/common/Player.RepeatMode https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#repeatMode()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.RepeatMode` used for playback. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#seekBackIncrementMs()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekBack()` increment in milliseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#seekForwardIncrementMs()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekForward()` increment in milliseconds. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#shuffleModeEnabled()` Whether shuffling of media items is enabled. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/util/Size!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#surfaceSize()` The size of the surface onto which the video is being rendered. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#timedMetadata()` The most recent timed metadata. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#timeline()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline`. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#totalBufferedDurationMsSupplier()` The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the estimated total buffered duration in milliseconds. |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/TrackSelectionParameters!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#trackSelectionParameters()` The currently active `https://developer.android.com/reference/kotlin/androidx/media3/common/TrackSelectionParameters`. |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#unmuteVolume()` The unmute audio volume, with 0 being silence and 1 being unity gain (signal unchanged). |
| `https://developer.android.com/reference/kotlin/androidx/media3/common/VideoSize!` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#videoSize()` The current video size. |
| `@https://developer.android.com/reference/kotlin/androidx/annotation/FloatRange(from = 0, to = 1.0) https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#volume()` The current audio volume, with 0 being silence and 1 being unity gain (signal unchanged). |

## Public functions

### buildUpon

```
fun buildUpon(): SimpleBasePlayer.State.Builder!
```

Returns a `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State.Builder` pre-populated with the current state values.

### equals

```
fun equals(o: Any?): Boolean
```

### getPlaylist

```
fun getPlaylist(): ImmutableList<SimpleBasePlayer.MediaItemData!>!
```

Returns the list of `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.MediaItemData` for the current playlist.

| See also |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State.Builder#setPlaylist(java.util.List<androidx.media3.common.SimpleBasePlayer.MediaItemData>)` |   |

### hashCode

```
fun hashCode(): Int
```

## Public properties

### adBufferedPositionMsSupplier

```
val adBufferedPositionMsSupplier: SimpleBasePlayer.PositionSupplier!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the estimated position up to which the currently playing ad is buffered, in milliseconds. The value is unused if no ad is playing.

### adPositionMsSupplier

```
val adPositionMsSupplier: SimpleBasePlayer.PositionSupplier!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the current ad playback position in milliseconds. The value is unused if no ad is playing.

### audioAttributes

```
val audioAttributes: AudioAttributes!
```

The current `https://developer.android.com/reference/kotlin/androidx/media3/common/AudioAttributes`.

### audioSessionId

```
val audioSessionId: Int
```

The current audio session ID.

### availableCommands

```
val availableCommands: Player.Commands!
```

The available `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.Commands`.

### contentBufferedPositionMsSupplier

```
val contentBufferedPositionMsSupplier: SimpleBasePlayer.PositionSupplier!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the estimated position up to which the currently playing content is buffered, in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` to indicate the default start position.

### contentPositionMsSupplier

```
val contentPositionMsSupplier: SimpleBasePlayer.PositionSupplier!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the current content playback position in milliseconds, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#TIME_UNSET()` to indicate the default start position.

### currentAdGroupIndex

```
val currentAdGroupIndex: Int
```

The current ad group index, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET()` if no ad is playing.

### currentAdIndexInAdGroup

```
val currentAdIndexInAdGroup: Int
```

The current ad index in the ad group, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET()` if no ad is playing.

### currentCues

```
val currentCues: CueGroup!
```

The current `https://developer.android.com/reference/kotlin/androidx/media3/common/text/CueGroup`.

### currentMediaItemIndex

```
val currentMediaItemIndex: Int
```

The current media item index, or `https://developer.android.com/reference/kotlin/androidx/media3/common/C#INDEX_UNSET()` to assume the default first item of the playlist is played.

### currentMetadata

```
val currentMetadata: MediaMetadata!
```

The current combined `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`.

### currentTracks

```
val currentTracks: Tracks!
```

The current `https://developer.android.com/reference/kotlin/androidx/media3/common/Tracks`.

### deviceInfo

```
val deviceInfo: DeviceInfo!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/DeviceInfo`.

### deviceVolume

```
val deviceVolume: @IntRange(from = 0) Int
```

The current device volume.

### discontinuityPositionMs

```
val discontinuityPositionMs: Long
```

The position, in milliseconds, in the current content or ad from which playback continued after the discontinuity. The value is unused if `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#hasPositionDiscontinuity()` is ` false`.

### hasPositionDiscontinuity

```
val hasPositionDiscontinuity: Boolean
```

Signals that a position discontinuity happened since the last update to the player.

### isDeviceMuted

```
val isDeviceMuted: Boolean
```

Whether the device is muted.

### isLoading

```
val isLoading: Boolean
```

Whether the player is currently loading its source.

### maxSeekToPreviousPositionMs

```
val maxSeekToPreviousPositionMs: Long
```

The maximum position for which `https://developer.android.com/reference/kotlin/androidx/media3/common/BasePlayer#seekToPrevious()` seeks to the previous item, in milliseconds.

### newlyRenderedFirstFrame

```
val newlyRenderedFirstFrame: Boolean
```

Whether a frame has been rendered for the first time since setting the surface, a rendering reset, or since the stream being rendered was changed.

### playWhenReady

```
val playWhenReady: Boolean
```

Whether playback should proceed when ready and not suppressed.

### playWhenReadyChangeReason

```
@Player.PlayWhenReadyChangeReason
val playWhenReadyChangeReason: Int
```

The last reason for changing `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#playWhenReady()`.

### playbackParameters

```
val playbackParameters: PlaybackParameters!
```

The currently active `https://developer.android.com/reference/kotlin/androidx/media3/common/PlaybackParameters`.

### playbackState

```
@Player.State
val playbackState: Int
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.State` of the player.

### playbackSuppressionReason

```
@Player.PlaybackSuppressionReason
val playbackSuppressionReason: Int
```

The reason why playback is suppressed even if `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer#getPlayWhenReady()` is true.

### playerError

```
val playerError: PlaybackException?
```

The last error that caused playback to fail, or null if there was no error.

### playlistMetadata

```
val playlistMetadata: MediaMetadata!
```

The playlist `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata`.

### positionDiscontinuityReason

```
@Player.DiscontinuityReason
val positionDiscontinuityReason: Int
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.DiscontinuityReason` for the last position discontinuity. The value is unused if `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.State#hasPositionDiscontinuity()` is `false`.

### repeatMode

```
@Player.RepeatMode
val repeatMode: Int
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player.RepeatMode` used for playback.

### seekBackIncrementMs

```
val seekBackIncrementMs: Long
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekBack()` increment in milliseconds.

### seekForwardIncrementMs

```
val seekForwardIncrementMs: Long
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/Player#seekForward()` increment in milliseconds.

### shuffleModeEnabled

```
val shuffleModeEnabled: Boolean
```

Whether shuffling of media items is enabled.

### surfaceSize

```
val surfaceSize: Size!
```

The size of the surface onto which the video is being rendered.

### timedMetadata

```
val timedMetadata: Metadata!
```

The most recent timed metadata.

### timeline

```
val timeline: Timeline!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/Timeline`.

### totalBufferedDurationMsSupplier

```
val totalBufferedDurationMsSupplier: SimpleBasePlayer.PositionSupplier!
```

The `https://developer.android.com/reference/kotlin/androidx/media3/common/SimpleBasePlayer.PositionSupplier` for the estimated total buffered duration in milliseconds.

### trackSelectionParameters

```
val trackSelectionParameters: TrackSelectionParameters!
```

The currently active `https://developer.android.com/reference/kotlin/androidx/media3/common/TrackSelectionParameters`.

### unmuteVolume

```
val unmuteVolume: @FloatRange(from = 0, to = 1.0) Float
```

The unmute audio volume, with 0 being silence and 1 being unity gain (signal unchanged).

### videoSize

```
val videoSize: VideoSize!
```

The current video size.

### volume

```
val volume: @FloatRange(from = 0, to = 1.0) Float
```

The current audio volume, with 0 being silence and 1 being unity gain (signal unchanged).