AgamaSourceConfiguration
@available(*, deprecated, message: "This type is no longer available and will be removed in a future version.")
@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
assetThe name of the Asset.
streamTypeType of stream can either be vod or live.
serviceNameThe name of the service. Defaults to nil.
cdnA string indicating the content distribution network that the content is being served from. Defaults to nil.
contentTitleTitle of the content. Defaults to nil.
contentTypeType of the content. Suggested values are ‘trailer’, ‘movie’, ‘news’, ‘documentary’, … Defaults to nil.
contentDescriptionDescription of the content. Defaults to nil.
AgamaSourceConfiguration Class Reference