Package-level declarations
Types
Playback quality and lifecycle events for analytics integrations.
A content-rating icon shown at program start (Kijkwijzer-style).
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, ...).
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.
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.