Back to Exoplayer

StyledPlayerView.ControllerVisibilityListener (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/ui/StyledPlayerView.ControllerVisibilityListener.html

latest1.1 KB
Original Source

Package com.google.android.exoplayer2.ui

Interface StyledPlayerView.ControllerVisibilityListener


public static interfaceStyledPlayerView.ControllerVisibilityListener

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

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | onVisibilityChanged​(int visibility) | Called when the visibility changes. |

Method Detail

- 

onVisibilityChanged

void onVisibilityChanged​(int visibility)

Called when the visibility changes. Parameters:visibility - The new visibility. Either View.VISIBLE or View.GONE.