VerizonMediaPingConfiguration

@available(*, deprecated, message: "This class will be removed with the next major release.")
public class VerizonMediaPingConfiguration : Codable

Describes the configuration of Verizon Media Ping feature.

  • Whether to request information about upcoming ad breaks in the Ping responses.

    Precondition

    Only available when VerizonMediaSource.assetType is VerizonMediaAssetType.ASSET.

    Remark

    Remark:

    • This feature will update the exposed ads found on VerizonMedia.ads | player.verizonMedia.ads.
    • Defaults to true if VerizonMediaSource.assetType is "event" or "channel", otherwise false.

    Declaration

    Swift

    public var linearAdData: Bool?
  • Whether to increase the accuracy of ad events by passing the current playback time in Ping requests, defaults to false.

    Precondition

    Only available when VerizonMediaSource.assetType is VerizonMediaAssetType.ASSET.

    Declaration

    Swift

    public var adImpressions: Bool?
  • Whether to enable FreeWheel’s Video View by Callback feature to send content impressions to the FreeWheel server, defaults to false.

    Precondition

    Only available when VerizonMediaSource.assetType is VerizonMediaAssetType.ASSET.

    Declaration

    Swift

    public var freeWheelVideoViews: Bool?
  • Constructs a Verizon Media Ping Configuration.

    Declaration

    Swift

    public init(linearAdData: Bool? = nil, adImpressions: Bool? = false, freeWheelVideoViews: Bool? = false)

    Parameters

    linearAdData

    Whether to request information about upcoming ad breaks in the Ping responses, defaults to nil.

    adImpressions

    Whether to increase the accuracy of ad events by passing the current playback time in Ping requests, defaults to false.

    freeWheelVideoViews

    Whether to enable FreeWheel’s Video View by Callback feature to send content impressions to the FreeWheel server, defaults to false.