Classes
The following classes are available globally.
-
Allows publishers to create a
PALNonceManager
for a single content stream.This instance’s methods and properties are not thread safe. Usage:
- Create a new
PALNonceLoader
. - Create a new
PALNonceRequest
and populate its properties. - Call
loadNonceManagerWithRequest
: to get a newPALNonceManager
, which will contain the nonce to use for ad requests for a single content stream. - For subsequent content streams, create a new
PALNonceRequest
but reuse the samePALNonceLoader
.
Declaration
Swift
class NonceLoader : NSObject
Objective-C
@interface PALNonceLoader : NSObject
- Create a new
-
Manages a nonce and its event reporting for a single content playback session.
The below content playback session lifecycle methods must be accurately called in order to enable programmatic monetization.
Declaration
Swift
class NonceManager : NSObject
Objective-C
@interface PALNonceManager : NSObject
-
The
PALNonceRequest
class contains data needed to create a programmatic access nonce.A
PALNonceRequest
instance is passed into aPALNonceLoader
‘sloadNonceManagerWithRequest
: method to load a newPALNonceManager
, containing the result nonce.Declaration
Swift
class NonceRequest : NSObject
Objective-C
@interface PALNonceRequest : NSObject
-
The PALSettings class stores SDK wide settings.
Declaration
Swift
class Settings : NSObject
Objective-C
@interface PALSettings : NSObject