setFullscreenControlOrientation

abstract fun setFullscreenControlOrientation(controlOrientation: Boolean)

Tells the player if toggling the full-screen state should also change the device's orientation.

Parameters

controlOrientation

If true, the activity containing the player rotates to landscape every time the player enters the full-screen mode, and to the portrait layout when the player exits the full screen. If set to false, the activity's orientation isn't affected by the player's fullscreen state. The default value is true.