Protocols
The following protocols are available globally.
-
Brightcove Ad Player interface
See moreDeclaration
Swift
public protocol BrightcoveAdPlayer : AdPlayer -
Adapter interface for Brightcove Data Collection API v2 lifecycle hooks.
Defines the contract for tracking player lifecycle events and propagating them to the Brightcove analytics platform. The adapter manages its own event subscriptions internally after being initialized with a player instance.
See moreDeclaration
Swift
public protocol BrightcoveDataCollectionAdapter -
Tracker for Brightcove Data Collection API v2 events.
Handles the construction and transmission of analytics events to Brightcove’s metrics tracker endpoint. Events are sent via HTTP requests using the platform’s native HTTP client (e.g., HTTPClient on iOS/tvOS).
See moreDeclaration
Swift
public protocol BrightcoveDataCollectionTracker -
Call back of each player module
See moreDeclaration
Swift
public protocol PreparePlayerParserDelegate : AnyObject
Protocols Reference