Package com.jwplayer.pub.api.events
Class AdViewableImpressionEvent
- java.lang.Object
-
- com.jwplayer.pub.api.events.Event
-
- com.jwplayer.pub.api.events.AdViewableImpressionEvent
-
public class AdViewableImpressionEvent extends Event
Payload that accompanies the onAdViewableImpression() event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AdViewableImpressionEvent.AdSchedule
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PARAM_AD_SCHEDULE
-
Constructor Summary
Constructors Constructor Description AdViewableImpressionEvent(JWPlayer player, int skipOffset, org.json.JSONObject adscheduleJson, java.lang.String id, java.lang.String tag, AdClient client, AdPosition position, java.lang.String offset, int wItem, int wCount, java.lang.String adBreakId, java.lang.String adPlayId, int viewable, java.lang.String creativeType, java.lang.String type, com.jwplayer.api.json.helpers.AdScheduleFromEventJsonHelper adScheduleFromEventJsonHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAdBreakId()
java.lang.String
getAdPlayId()
AdViewableImpressionEvent.AdSchedule
getAdSchedule()
AdClient
getClient()
java.lang.String
getCreativeType()
java.lang.String
getId()
java.lang.String
getOffset()
AdPosition
getPosition()
int
getSkipOffset()
java.lang.String
getTag()
int
getViewable()
java.lang.String
getViewableType()
int
getWCount()
int
getWItem()
-
-
-
Field Detail
-
PARAM_AD_SCHEDULE
public static final java.lang.String PARAM_AD_SCHEDULE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AdViewableImpressionEvent
public AdViewableImpressionEvent(@NonNull JWPlayer player, int skipOffset, @Nullable org.json.JSONObject adscheduleJson, @Nullable java.lang.String id, @Nullable java.lang.String tag, @NonNull AdClient client, @NonNull AdPosition position, @Nullable java.lang.String offset, int wItem, int wCount, @Nullable java.lang.String adBreakId, @Nullable java.lang.String adPlayId, int viewable, @Nullable java.lang.String creativeType, @Nullable java.lang.String type, @Nullable com.jwplayer.api.json.helpers.AdScheduleFromEventJsonHelper adScheduleFromEventJsonHelper)
-
-
Method Detail
-
getSkipOffset
public int getSkipOffset()
-
getAdSchedule
@Nullable public AdViewableImpressionEvent.AdSchedule getAdSchedule()
-
getId
@Nullable public java.lang.String getId()
-
getTag
@Nullable public java.lang.String getTag()
-
getClient
@NonNull public AdClient getClient()
-
getPosition
@NonNull public AdPosition getPosition()
-
getOffset
@Nullable public java.lang.String getOffset()
-
getWItem
public int getWItem()
-
getWCount
public int getWCount()
-
getAdBreakId
@Nullable public java.lang.String getAdBreakId()
-
getAdPlayId
@Nullable public java.lang.String getAdPlayId()
-
getViewable
public int getViewable()
-
getCreativeType
@Nullable public java.lang.String getCreativeType()
-
getViewableType
@Nullable public java.lang.String getViewableType()
-
-