OrientationMode

enum OrientationMode : ProtocolMessageEnum
Describes available orientation modes, for specifying the default orientation mode for an application
within a web app manifest.
Protobuf enum elide.page.Context.AppManifest.OrientationMode

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val ANY_VALUE: Int = 1
Any orientation mode is supported.
ANY = 1;
Link copied to clipboard
Use landscape mode by default.
LANDSCAPE = 3;
Link copied to clipboard
Use the natural orientation mode for the device.
NATURAL = 2;
Link copied to clipboard
Use portrait mode by default.
PORTRAIT = 4;
Link copied to clipboard
Unspecified, or default, orientation mode/settings.
UNSPECIFIED_ORIENTATION = 0;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Context.AppManifest.OrientationMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.