screenOrientation property

TrustedWebActivityScreenOrientation? screenOrientation
getter/setter pair

Sets a screen orientation. This can be used e.g. to enable the locking of an orientation lock type.

NOTE: Available only in a Trusted Web Activity.

Officially Supported Platforms/Implementations:

  • Android

Implementation

TrustedWebActivityScreenOrientation? screenOrientation;