SourceAnalyticsApi

@objc(BPASourceAnalyticsApi)
public protocol SourceAnalyticsApi

Provides an API to control Analytics of a Source.

  • The metadata of the Source.

    SourceMetadata.customData will be updated with customData when set via the .customData property after initial creation

    For more information, seeBitmovinPlayerCollectorApi.apply(sourceMetadata:for:)

    Declaration

    Swift

    var metadata: SourceMetadata { get }
  • CustomData to send in analytics events associated with this source

    For more information, seeBitmovinPlayerCollectorApi.apply(customData:for:)

    Declaration

    Swift

    var customData: CustomData { get set }