AgamaSourceConfiguration

@objc(THEOplayerAgamaSourceConfiguration)
public class AgamaSourceConfiguration : NSObject, AnalyticsDescription, Codable

Configure Agama analytics pre-integration.

  • The analytics integration.

    Declaration

    Swift

    @objc
    public var integration: AnalyticsIntegration
  • Constructs an AgamaSourceConfiguration object.

    Declaration

    Swift

    public init(asset: String, streamType: StreamType, serviceName: AgamaServiceName? = nil, cdn: String? = nil, contentTitle: String? = nil, contentType: String? = nil, contentDescription: String? = nil)

    Parameters

    asset

    The name of the Asset.

    streamType

    Type of stream can either be vod or live.

    serviceName

    The name of the service. Defaults to nil.

    cdn

    A string indicating the content distribution network that the content is being served from. Defaults to nil.

    contentTitle

    Title of the content. Defaults to nil.

    contentType

    Type of the content. Suggested values are ‘trailer’, ‘movie’, ‘news’, ‘documentary’, … Defaults to nil.

    contentDescription

    Description of the content. Defaults to nil.