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.JsonableInformation 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.StringgetBreakId()java.lang.StringgetId()java.lang.IntegergetItem()java.lang.StringgetTimeOffset()static VMAPInfoparseJson(java.lang.String json)static VMAPInfoparseJson(org.json.JSONObject json)org.json.JSONObjecttoJson()
-
-
-
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:
toJsonin interfacecom.longtailvideo.jwplayer.utils.Jsonable
-
-