public class VMAPInfo
extends java.lang.Object
implements com.longtailvideo.jwplayer.utils.Jsonable
Constructor and Description |
---|
VMAPInfo(java.lang.String id,
java.lang.Integer item,
java.lang.String breakId,
java.lang.String timeOffset) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBreakId() |
java.lang.String |
getId() |
java.lang.Integer |
getItem() |
java.lang.String |
getTimeOffset() |
static VMAPInfo |
parseJson(org.json.JSONObject json) |
static VMAPInfo |
parseJson(java.lang.String json) |
org.json.JSONObject |
toJson() |
public VMAPInfo(java.lang.String id, java.lang.Integer item, java.lang.String breakId, java.lang.String timeOffset)
@Nullable public java.lang.String getId()
@Nullable public java.lang.Integer getItem()
@Nullable public java.lang.String getBreakId()
@Nullable public java.lang.String getTimeOffset()
public static VMAPInfo parseJson(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public static VMAPInfo parseJson(java.lang.String json) throws org.json.JSONException
org.json.JSONException
public org.json.JSONObject toJson()
toJson
in interface com.longtailvideo.jwplayer.utils.Jsonable