AmpNielsenManager
open class AmpNielsenManager: NSObject, NielsenAppApiDelegate
Class in charge of manage the Nielsen DCR integration.
-
The native player.
Declaration
Swift
open let ampPlayer: AmpPlayer?
-
Initializes a new AmpNielsenManager with the parameters provided.
Declaration
Swift
public init?(player: AmpPlayer, appInfo: String)
-
Initializes a new AmpNielsenManager with the parameters provided.
Declaration
Swift
public init(appInfo: [String:AnyObject])
-
Get the URL of the web page that is used for giving user a chance to opt out from the Nielsen measurements..
Declaration
Swift
open func getOptOutURL() -> String?
-
Set the URL of the web page that is used for giving user a chance to opt out from the Nielsen measurements..
- parameyer optOut: String
Declaration
Swift
open func userOptOut(_ optOut:String) -> Bool
-
Registers an observer to be notified of plugin events.
Declaration
Swift
open func registerObserver(_ observer: AmpNielsenObserver) -> Int
Return Value
The id of the registered observer.
-
Set the channel info
Declaration
Swift
open func set(channelInfo:String)
-
Set the channel info
Declaration
Swift
open func set(metaData:String)