enableAutoFullscreenOnRotate method

Future<void> enableAutoFullscreenOnRotate()

Enables automatic fullscreen on rotation.

The native player enters fullscreen in landscape and exits in portrait when it receives rotation updates. The host app must allow rotation. On iOS, this sets the native player flag, which defaults to enabled.

Implementation

Future<void> enableAutoFullscreenOnRotate() =>
    _nativeApi.enableAutoFullscreenOnRotate();