FLPALFactory

public enum FLPALFactory

Undocumented

  • API to construct PALSessionConfiguration conformed value type reference

    Declaration

    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) -> PALSessionConfiguration

    Parameters

    willAdAutoPlay

    Defines whether the ad will be auto played without waiting for user interaction or not.

    willAdPlayMuted

    Defines whether the ad will be played while muted or not.

    continuousPlayback

    Defines whether the player intends to continuously play the content videos one after another similar to TV broadcast or video playlist.

    descriptionUrl

    Defines the description URL of the content during which the ad will be played.

    iconsSupported

    Defines whether VAST icons are supported by the video player.

    nonceLengthLimit

    Defines the length limit of the generated nonce.

    playerType

    The partner provided player type.

    playerVersion

    The partner provided player version.

    ppid

    The publisher provided ID.

    videoHeight

    The height of the ad video element.

    videoWidth

    The width of the ad video element.

    omidPartnerName

    The name of the partner integrating OMID measurement.

    omidPartnerVersion

    The version of the partner integrating OMID measurement.

    omidVersion

    The version of OMID that the player responsible for ad playback integrates with.

  • API to construct PALSession conformed reference type instance.

    Declaration

    Swift

    public static func palSession() -> PALSession