Class AdvertisingHelper
- java.lang.Object
-
- com.longtailvideo.jwplayer.media.ads.AdvertisingHelper
-
public final class AdvertisingHelper extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdvertisingBase
parseJson(java.lang.String json)
static AdvertisingBase
parseJson(org.json.JSONObject json)
Parses an JSON object to either an VASTAdvertising object or an VMAPAdvertising object.static com.longtailvideo.jwplayer.freewheel.media.ads.FwSettings
readFreeWheelSettings(org.json.JSONObject json)
static org.json.JSONObject
toJson(AdvertisingBase advertising)
-
-
-
Method Detail
-
parseJson
public static AdvertisingBase parseJson(org.json.JSONObject json)
Parses an JSON object to either an VASTAdvertising object or an VMAPAdvertising object.
-
parseJson
public static AdvertisingBase parseJson(java.lang.String json)
-
toJson
@Nullable public static org.json.JSONObject toJson(AdvertisingBase advertising)
-
readFreeWheelSettings
public static com.longtailvideo.jwplayer.freewheel.media.ads.FwSettings readFreeWheelSettings(org.json.JSONObject json)
-
-