BrightcoveDataCollectionAdapter
public protocol BrightcoveDataCollectionAdapter
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.
-
Gets the current session ID.
Declaration
Swift
func getSessionId() -> StringReturn Value
The unique session identifier for this tracking session
-
Cleans up event subscriptions and resources. Should be called when the adapter is no longer needed to prevent memory leaks.
Declaration
Swift
func dispose()