POBNativeRequestVideoAsset Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | POBNativeRequestAsset |
| Declared in | POBNativeRequestVideoAsset.h |
minduration
The minimum duration of the video in seconds.
@property (nonatomic, assign, readonly) NSInteger mindurationDiscussion
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 maxdurationDiscussion
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*> *mimesDiscussion
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*> *protocolsDiscussion
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*> *)protocolsParameters
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