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?
-
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?
-
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 }
-
Declaration
Swift
public init(mimes: [String])
Parameters
mimes
supported MIME types
-
Objective-C API
Declaration
Swift
public func setSize(_ size: NSValue)