Package-level declarations
Types
Playback quality and lifecycle events for analytics integrations.
Why a AnalyticsEvent.BufferStart happened — rebuffer-ratio contracts need initial and seek buffering excluded, so the reason is explicit instead of inferred from event order.
A content-rating icon shown at program start (Kijkwijzer-style).
Physical device orientation, as reported by the view layer.
DRM configuration for an OGMediaItem (Widevine).
Why the SDK silently renewed a DRM session.
Supplies a DRM license token. Called on every license request — including renewals — so implementations must return a currently valid token each time (fetch it, refresh auth, etc.). Never cache a token beyond its lifetime; the SDK never caches it at all.
Context for a DrmTokenProvider.getToken call.
Marks declarations that are internal to the ogplayer SDK modules. They carry no compatibility guarantees and must not be used by apps.
Receives AnalyticsEvents from an OGPlayer. Host apps adapt these to their analytics vendor (Conviva, Tealium, ...).
A capped "standby" buffering profile for players that are prepared but not on screen — the vertical feed keeps its preloaded items on this profile so a whole pool stays within a predictable memory budget. Set it once via OGPlayer.Builder.setStandbyBufferProfile; switch the live role with OGPlayer.setBufferRole.
Buffering role of a player with a standby profile; see OGBufferProfile.
Immutable description of a piece of media to play.
Sealed hierarchy of playback errors surfaced by the SDK.
Entry point metadata for the ogplayer SDK.
Callbacks for playback lifecycle events. All methods have empty defaults.
High-level playback state of an OGPlayer.
Why a AnalyticsEvent.PlaybackRecovered re-prepare happened.
Declared stream type of a media item. Drives default UI behavior.
A sideloaded subtitle file (WebVTT/TTML/SRT) attached to a media item.
Caption rendering style. When applyEmbeddedStyles is false (default), this styling always wins over in-stream text styling, while WebVTT positioning (line/position/align cue settings) is always preserved.
How the player's volume slider behaves.