Class POBCoreNativeRequestVideoAsset
-
- All Implemented Interfaces:
public final class POBCoreNativeRequestVideoAsset extends POBCoreNativeRequestAsset
This class represents the video asset in the native ad request.
-
-
Field Summary
Fields Modifier and Type Field Description private final JSONObjectRTBJSONprivate final IntegerassetIdprivate final BooleanisAssetRequiredprivate final IntegerminDurationprivate final IntegermaxDurationprivate final IntArrayprotocolsprivate final Array<String>mimes
-
Method Summary
Modifier and Type Method Description JSONObjectgetRTBJSON()Convert the asset object to JSONObject final IntegergetAssetId()final BooleanisAssetRequired()final IntegergetMinDuration()Minimum video ad duration in seconds final IntegergetMaxDuration()Maximum video ad duration in seconds final IntArraygetProtocols()Array of supported video protocols final Array<String>getMimes()Whitelist of content MIME types supported for video -
-
Method Detail
-
getRTBJSON
JSONObject getRTBJSON()
Convert the asset object to JSONObject
- Returns:
return the converted JSONObject
-
getAssetId
final Integer getAssetId()
-
isAssetRequired
final Boolean isAssetRequired()
-
getMinDuration
final Integer getMinDuration()
Minimum video ad duration in seconds
-
getMaxDuration
final Integer getMaxDuration()
Maximum video ad duration in seconds
-
getProtocols
final IntArray getProtocols()
Array of supported video protocols
-
-
-
-