POBNativeRequestVideoAsset Class Reference

Inherits from NSObject
Conforms to POBNativeRequestAsset
Declared in POBNativeRequestVideoAsset.h

Overview

A Video object to be used for NativeAd request.

  minduration

The minimum duration of the video in seconds.

@property (nonatomic, assign, readonly) NSInteger minduration

Discussion

The minimum duration of the video in seconds.

Declared In

POBNativeRequestVideoAsset.h

  maxduration

The maximum duration of the video in seconds.

@property (nonatomic, assign, readonly) NSInteger maxduration

Discussion

The maximum duration of the video in seconds.

Declared In

POBNativeRequestVideoAsset.h

  mimes

A List of supported video MIME types, e.g. “video/mp4”.

@property (nonatomic, strong, readonly) NSArray<NSString*> *mimes

Discussion

A List of supported video MIME types, e.g. “video/mp4”.

Declared In

POBNativeRequestVideoAsset.h

  protocols

A List of supported video protocols, e.g. “VAST 2.0”.

@property (nonatomic, strong, readonly) NSArray<NSNumber*> *protocols

Discussion

A List of supported video protocols, e.g. “VAST 2.0”.

Declared In

POBNativeRequestVideoAsset.h

– initWithRequired:minduration:maxduration:mimes:protocols:

Create an instance of POBNativeRequestVideoAsset. It internally sets the OpenWrap SDK specific asset id to the asset.

- (instancetype)initWithRequired:(BOOL)required minduration:(NSInteger)minduration maxduration:(NSInteger)maxduration mimes:(NSArray<NSString*> *)mimes protocols:(NSArray<NSNumber*> *)protocols

Parameters

required

Set to YES if asset is required

minduration

The minimum duration of the video in seconds.

maxduration

The maximum duration of the video in seconds.

mimes

Content MIME types supported for rendering the video Ad.

protocols

Video protocols supported for rendering the video Ad.

Return Value

Instance of POBNativeRequestVideoAsset

Discussion

Create an instance of POBNativeRequestVideoAsset. It internally sets the OpenWrap SDK specific asset id to the asset.

Declared In

POBNativeRequestVideoAsset.h