Package com.jwplayer.pub.api.events
Class AdLoadedEvent
java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.AdLoadedEvent
Payload to accompany the onAdLoaded() event
-
Constructor Summary
ConstructorsConstructorDescriptionAdLoadedEvent
(JWPlayer player, AdClient client, String adBreakId, String adPlayId, String offset, String id, String tag, AdPosition adPosition, int sequence, int wItem, int wCount, String adSystem, AdScheduleFromEvent adScheduleFromEvent, int timeLoading, String type) -
Method Summary
-
Constructor Details
-
AdLoadedEvent
-
-
Method Details
-
getClient
- Returns:
- The client that is currently being used
-
getAdBreakId
- Returns:
- Unique ID for each ad break
-
getAdPlayId
- Returns:
- Unique ID for each ad
-
getOffset
- Returns:
- Position of an ad
-
getId
- Returns:
- Unique ad ID
-
getTag
- Returns:
- URL of the ad tag
-
getAdposition
- Returns:
- Position of the ad
-
getAdScheduleFromEvent
- Returns:
- Ad break information
-
getSequence
public int getSequence()- Returns:
- Returns the sequence number with which the ad associated
-
getWitem
public int getWitem()- Returns:
- Waterfall index
-
getWcount
public int getWcount()- Returns:
- Waterfall count
-
getAdsystem
- Returns:
- From the ad XML, name of the ad server that returned the ad
-
getType
- Returns:
- Category of the player event
-
getTimeLoading
public int getTimeLoading()- Returns:
- Time the ad took to load in milliseconds
-