# PlayerControlView.OnFullScreenModeChangedListener

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

*** ** * ** ***


```
interface PlayerControlView.OnFullScreenModeChangedListener
```

<br />

*** ** * ** ***

> [!CAUTION]
> **This interface is deprecated.**   
>
> Register a `https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerView.FullscreenButtonClickListener` via `https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerView#setFullscreenButtonClickListener(androidx.media3.ui.PlayerView.FullscreenButtonClickListener)` instead. Using `https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerControlView` as a standalone class without `https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerView` is deprecated.

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[onFullScreenModeChanged](https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerControlView.OnFullScreenModeChangedListener#onFullScreenModeChanged(boolean))(isFullScreen: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` **This function is deprecated.** Deprecated in Java |

## Public functions

### onFullScreenModeChanged

```
fun [onFullScreenModeChanged](https://developer.android.com/reference/kotlin/androidx/media3/ui/PlayerControlView.OnFullScreenModeChangedListener#onFullScreenModeChanged(boolean))(isFullScreen: Boolean): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> Deprecated in Java

Called to indicate a fullscreen mode change.

| Parameters |
|---|---|
| `isFullScreen: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `true` if the video rendering surface should be fullscreen ` false` otherwise. |