FLPALFactory
public enum FLPALFactory
Undocumented
-
palConfiguration(willAdAutoPlay:willAdPlayMuted: continuousPlayback: descriptionUrl: iconsSupported: nonceLengthLimit: playerType: playerVersion: ppid: videoHeight: videoWidth: omidPartnerName: omidPartnerVersion: omidVersion: sessionID: allowStorage: ) API to construct
PALSessionConfigurationconformed value type referenceDeclaration
Swift
public static func palConfiguration(willAdAutoPlay: PALFlag, willAdPlayMuted: PALFlag = .false, continuousPlayback: PALFlag = .false, descriptionUrl: URL, iconsSupported: Bool = false, nonceLengthLimit: UInt, playerType: String = "FL Player", playerVersion: String, ppid: String, videoHeight: UInt = 480, videoWidth: UInt = 640, omidPartnerName: String, omidPartnerVersion: String, omidVersion: String, sessionID: String = "", allowStorage: Bool = false) -> PALSessionConfigurationParameters
willAdAutoPlayDefines whether the ad will be auto played without waiting for user interaction or not.
willAdPlayMutedDefines whether the ad will be played while muted or not.
continuousPlaybackDefines whether the player intends to continuously play the content videos one after another similar to TV broadcast or video playlist.
descriptionUrlDefines the description URL of the content during which the ad will be played.
iconsSupportedDefines whether VAST icons are supported by the video player.
nonceLengthLimitDefines the length limit of the generated nonce.
playerTypeThe partner provided player type.
playerVersionThe partner provided player version.
ppidThe publisher provided ID.
videoHeightThe height of the ad video element.
videoWidthThe width of the ad video element.
omidPartnerNameThe name of the partner integrating OMID measurement.
omidPartnerVersionThe version of the partner integrating OMID measurement.
omidVersionThe version of OMID that the player responsible for ad playback integrates with.
-
API to construct
PALSessionconformed reference type instance.Declaration
Swift
public static func palSession() -> PALSession