public class AdMedia
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
adId
Currently played ad id.
|
java.lang.Integer |
currentOrderNumber
Ad order number.
|
java.lang.Double |
durationPlayed
Total time spend on ads playback during ad break.
|
java.lang.Double |
durationTotal
Total time of ad break.
|
Media |
media
Media object
|
java.lang.String |
mediaClickTargetUrl
Landing page after clicking ad.
|
java.lang.Integer |
totalNumber
Number of ads in ad break.
|
Constructor and Description |
---|
AdMedia() |
Modifier and Type | Method and Description |
---|---|
static AdMedia |
parseWithJSONObject(JSONObject reader)
Parse object from JSON readed by JSONObject reader.
|
public Media media
public java.lang.String mediaClickTargetUrl
public java.lang.Integer currentOrderNumber
public java.lang.Integer totalNumber
public java.lang.Double durationPlayed
public java.lang.Double durationTotal
public java.lang.String adId
public static AdMedia parseWithJSONObject(JSONObject reader) throws JSONException
reader
- JSONException