OGUiConfig
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.
Types
Properties
Where the cast button sits within the player (default top end).
How long the rating icons stay before fading, in ms.
Colour tokens for the built-in controls (design-system defaults).
Dimension tokens for the built-in controls (embedded baseline).
Host icon buttons rendered left of the Cast button (max 8).
Host-supplied error-overlay text, any language — called with the full OGPlayerError (stable codes across platforms); null → SDK default.
Whether upcoming ad breaks are marked on the scrub bar.
Whether content-rating icons render at program start.
Whether the scrub bar (and its thumbnail preview) is shown.
Style for the title overlay; null = SDK default (white 24sp semibold, outlined).
How long the title stays before fading, in ms.