VideoParameters
@objcMembers
public class VideoParameters : NSObject
Describes an OpenRTB video object
-
List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported.
Declaration
Swift
public var api: [Signals.Api]? -
Maximum bit rate in Kbps.
Declaration
Swift
public var maxBitrate: SingleContainerInt? -
Maximum bit rate in Kbps.
Declaration
Swift
public var minBitrate: SingleContainerInt? -
Maximum video ad duration in seconds.
Declaration
Swift
public var maxDuration: SingleContainerInt? -
Minimum video ad duration in seconds.
Declaration
Swift
public var minDuration: SingleContainerInt? -
Content MIME types supported. Prebid Server required property.
Example
“video/mp4” “video/x-ms-wmv”
Declaration
Swift
public var mimes: [String] -
Allowed playback methods. If none specified, assume all are allowed.
Declaration
Swift
public var playbackMethod: [Signals.PlaybackMethod]? -
Array of supported video bid response protocols.
Declaration
Swift
public var protocols: [Signals.Protocols]? -
Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.
Declaration
Swift
public var startDelay: Signals.StartDelay? -
Placement type for the impression.
Declaration
Swift
public var placement: Signals.Placement? -
Placement type for the impression.
Declaration
Swift
public var plcmnt: Signals.Plcmnt? -
Indicates if the impression must be linear, nonlinear, etc. If none specified, assume all are allowed.
Declaration
Swift
public var linearity: SingleContainerInt? -
Undocumented
Declaration
Swift
public var adSize: CGSize? -
List of blocked creative attributes.
Declaration
Swift
public var battr: [Signals.CreativeAttribute]? -
Undocumented
Declaration
Swift
public var isSkippable: Bool?
-
Helper property
Declaration
Swift
public var rawAPI: [Int]? { get } -
Helper property
Declaration
Swift
public var rawPlaybackMethod: [Int]? { get } -
Helper property
Declaration
Swift
public var rawProtocols: [Int]? { get } -
Helper property
Declaration
Swift
public var rawBattrs: [Int]? { get } -
Undocumented
Declaration
Swift
public var rawSkippable: NSNumber? { get } -
Declaration
Swift
public init(mimes: [String])Parameters
mimessupported MIME types
-
Objective-C API
Declaration
Swift
public func setSize(_ size: NSValue)