Class AdTimeEvent
- java.lang.Object
-
- com.longtailvideo.jwplayer.events.AdTimeEvent
-
-
Constructor Summary
Constructors Constructor Description AdTimeEvent(AdSource client, java.lang.String creativeType, double duration, double position, int sequence, java.lang.String tag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdSourcegetClient()java.lang.StringgetCreativeType()doublegetDuration()doublegetPosition()intgetSequence()java.lang.StringgetTag()
-
-
-
Constructor Detail
-
AdTimeEvent
public AdTimeEvent(AdSource client, java.lang.String creativeType, double duration, double position, int sequence, java.lang.String tag)
-
-
Method Detail
-
getClient
@NonNull public AdSource getClient()
- Returns:
- The client that is currently being used.
-
getCreativeType
@Nullable public java.lang.String 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
@NonNull public java.lang.String getTag()
- Returns:
- The URL of the ad tag that is currently playing.
-
-