Class VMAPInfo
- java.lang.Object
-
- com.longtailvideo.jwplayer.media.ads.VMAPInfo
-
- All Implemented Interfaces:
com.longtailvideo.jwplayer.utils.Jsonable
public class VMAPInfo extends java.lang.Object implements com.longtailvideo.jwplayer.utils.Jsonable
Information about a VMAP Ad Break.
-
-
Constructor Summary
Constructors Constructor Description VMAPInfo(java.lang.String id, java.lang.Integer item, java.lang.String breakId, java.lang.String timeOffset)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBreakId()
java.lang.String
getId()
java.lang.Integer
getItem()
java.lang.String
getTimeOffset()
static VMAPInfo
parseJson(java.lang.String json)
static VMAPInfo
parseJson(org.json.JSONObject json)
org.json.JSONObject
toJson()
-
-
-
Method Detail
-
getId
@Nullable public java.lang.String getId()
-
getItem
@Nullable public java.lang.Integer getItem()
-
getBreakId
@Nullable public java.lang.String getBreakId()
-
getTimeOffset
@Nullable public java.lang.String getTimeOffset()
-
parseJson
public static VMAPInfo parseJson(org.json.JSONObject json) throws org.json.JSONException
- Throws:
org.json.JSONException
-
parseJson
public static VMAPInfo parseJson(java.lang.String json) throws org.json.JSONException
- Throws:
org.json.JSONException
-
toJson
public org.json.JSONObject toJson()
- Specified by:
toJson
in interfacecom.longtailvideo.jwplayer.utils.Jsonable
-
-