screenOrientation property
getter/setter pair
Sets a screen orientation. This can be used e.g. to enable the locking of an orientation lock type.
Officially Supported Platforms/Implementations:
- Android Chrome Custom Tabs:
- Not available in a Trusted Web Activity.
Implementation
TrustedWebActivityScreenOrientation? screenOrientation;