POBNativeRequestDataAsset Class Reference
Inherits from | NSObject |
---|---|
Conforms to | POBNativeRequestAsset |
Declared in | POBNativeRequestDataAsset.h |
type
Required parameter. Type ID of the element supported by the publisher. The publisher can display this information in an appropriate format.
@property (nonatomic, readonly) POBNativeDataAssetType type
Declared In
POBNativeRequestDataAsset.h
length
Optional parameter. Maximum length of the text in the element’s response.
@property (nonatomic, assign) NSInteger length
Declared In
POBNativeRequestDataAsset.h
– initWithId:required:type:
Initializer
- (instancetype)initWithId:(NSInteger)assetId required:(BOOL)required type:(POBNativeDataAssetType)type
Parameters
assetId |
Unique asset ID, assigned by exchange. Typically a counter for the array. |
---|---|
required |
Set to YES if asset is required |
type |
Type ID of the element supported by the publisher. The publisher can display this information in an appropriate format. |
Return Value
Instance of POBNativeRequestDataAsset
Declared In
POBNativeRequestDataAsset.h