OGInputMode

How the built-in chrome is driven — set with OGUiConfig.Builder.setInputMode.

POINTER (default) is the touch chrome: tap toggles the controls, drag scrubs, menus are dropdowns.

REMOTE is the ten-foot chrome for Android TV, Google TV and Fire TV: the D-pad walks the controls with a focus ring, OK activates, Left/Right on the scrub bar seek in accelerating steps with the storyboard preview, media keys (play/pause, rewind, fast-forward, next) act directly, and Back dismisses a menu, then a pending seek, then the chrome — and is otherwise left to the host activity. Sizes step up for viewing distance and the overscan-safe inset (OGControlDimens.forTv); the fullscreen, cast and volume buttons are not offered (a TV app is always full-screen, has no cast sender, and the remote owns the volume). Touch keeps working alongside. Nothing else about playback changes.

Entries

Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard

Functions

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.