UIModeState

This depicts the UI mode. In layman's terms you could say it depicts which of NewPlayer's many UI screens should be visible. The UIModeState can be derived from the PlayMode. However, while PlayMode depicts in which mode to play a certain item in, UIModeState is more detailed and depicts the actually visible UI. Because of this multiple UIModeStates can be mapped to the same PlayMode.

UIModeState is mainly thought to be used and modified /** @hide */ internally. However, since a UIModeState is part of the NewPlayerUIState, it is public.

Entries

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

Depicts if the current mode requires the screen to be rotated to best fit the video dimensions.

Link copied to clipboard

Depicts if the current mode requires the UI to be in fullscreen mode.

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

Depicts if the current state requires the progress update job of the viewModel to run.

Link copied to clipboard

Functions

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

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.