DisplayMode

enum DisplayMode : ProtocolMessageEnum
Enumerates display modes which are available for selection in the web application manifest
spec. Each display mode is described herein.
Protobuf enum elide.page.Context.AppManifest.DisplayMode

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
Regular browser UI. Default value if left unspecified.
BROWSER = 0;
Link copied to clipboard
All of the available display area is used and no user agent chrome is shown.
FULLSCREEN = 1;
Link copied to clipboard
The application will look and feel like a standalone application, but will have a minimal set of UI
elements for controlling navigation. The elements will vary by browser.
MINIMAL_UI = 3;
Link copied to clipboard
The application will look and feel like a standalone application. This can include the application
having a different window, its own icon in the application launcher, etc. In this mode, the user
agent will exclude UI elements for controlling navigation, but can include other UI elements such
as a status bar.
STANDALONE = 2;

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
open fun internalGetValueMap(): Internal.EnumLiteMap<Context.AppManifest.DisplayMode>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Context.AppManifest.DisplayMode

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.