Package com.jwplayer.pub.api.events
Class AdTimeEvent
java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.AdTimeEvent
Payload that accompanies the onAdTime() event.
-
Constructor Details
-
AdTimeEvent
-
-
Method Details
-
getClient
- Returns:
- The client that is currently being used.
-
getCreativeType
- Returns:
- The type of advertising creative.
-
getDuration
public double getDuration()- Returns:
- The total duration of the ad creative.
-
getPosition
public double getPosition()- Returns:
- The current playback position in the ad creative.
-
getSequence
public int getSequence()- Returns:
- Returns the sequence number the ad is a part of.
-
getTag
- Returns:
- The URL of the ad tag that is currently playing.
-