YouboraOptions

@objc(THEOplayerYouboraOptions)
public class YouboraOptions : NSObject, AnalyticsDescription, Codable

Configure Youbora analytics pre-integration.

  • The type of AnalyticsIntegration.

    Declaration

    Swift

    @objc
    public var integration: AnalyticsIntegration
  • Constructs a YouboraOptions object.

    Declaration

    Swift

    @objc
    public convenience init(accountCode: String)

    Parameters

    accountCode

    The Youbora accountCode.

  • Puts a key value pair to the Youbora options where the value is a string.

    Declaration

    Swift

    @objc
    public func put(key: String, value: String)

    Parameters

    key

    The key for the specified parameter.

    value

    The value for the specified parameter.

  • Puts a key value pair to the Youbora options where the value is a dictionary.

    Declaration

    Swift

    @objc
    public func putMap(key: String, value: [String : String])

    Parameters

    key

    The key for the specified parameter.

    value

    The value for the specified parameter.