AmpConfig

public class AmpConfig: NSObject

Class to manage the different config files

  • Variable to manage the IMA Ad Config

    Declaration

    Swift

    public var IMAConfig:AmpIMAConfig?
  • Variable to manage the Akamai Media Analytics Config

    Declaration

    Swift

    public var AnalyticsConfig:AmpMediaAnalyticsConfig?
  • Class constructor - parameter configURL: String with the config URL - parameter player: AmpPlayer reference to the current player

    Declaration

    Swift

    public init(configURL:String, player:AmpPlayer)

    Parameters

    configURL

    String with the config URL

    player

    AmpPlayer reference to the current player