Class ExternalMetadata
java.lang.Object
com.jwplayer.pub.api.media.playlists.ExternalMetadata
Customers use ExternalMetadata to register specific timestamps
they want onMeta to fire providing them with customized data
UseCase:
A customer wants to show a button between 15s & 30s into a video
and wants to avoid the performance hit of using onTime
to figure out when they're in that playback window
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
double
int
getId()
double
void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
CREATOR
public static final <any> CREATOR
-
-
Constructor Details
-
ExternalMetadata
public ExternalMetadata(int id, double startTime, double endTime)
-
-
Method Details
-
getId
public int getId() -
getStartTime
public double getStartTime() -
getEndTime
public double getEndTime() -
describeContents
public int describeContents() -
writeToParcel
public void writeToParcel(Parcel dest, int flags)
-