Package-level declarations
Types
Ready-made FullscreenHandler for the common case: hides/shows the system bars edge-to-edge and, with lockLandscape, drives screen orientation.
A host-supplied icon button rendered inline in the player's top-end control row, to the LEFT of the Cast button — icon-only by design (no labels). Custom actions are part of the control chrome: they appear and hide with the controls and are suppressed during ad breaks. Up to 8 per player via OGUiConfig.Builder.setCustomActions.
Implemented by the host app to enter/exit fullscreen presentation (orientation, system bars, layout). The player view only toggles state and renders the fullscreen button when a handler is provided.
Colour tokens for the built-in player controls. All defaults derive from pure white or pure black so the system survives any host theme; override individual tokens via OGUiConfig.Builder.setControlColors.
Dimension tokens for the built-in player controls (embedded values; fullscreen automatically steps sizes up per the design spec). Override via OGUiConfig.Builder.setControlDimens.
Visual configuration for OGPlayerView's built-in controls. Every button icon can be replaced with a drawable resource (PNG/vector); when unset, the SDK's built-in vector shapes are drawn. For a completely different control layout, pass customControls to OGPlayerView instead.
3x3 grid of anchor positions for app-supplied overlays rendered above the video and below the playback controls.
Functions
Composable video surface with the SDK's playback controls overlaid. Tap toggles controls visibility; controls auto-hide while playing.