UIMode State
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
Same as PlayMode.IDLE
Properties
Returns a representation of an immutable list of all enum entries, in the order they're declared.
Depicts if the current mode requires the screen to be rotated to best fit the video dimensions.
Depicts if the current mode requires the UI to be in fullscreen mode.
Depicts if the current state requires the progress update job of the viewModel to run.
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.