Class ExternalMetadata
java.lang.Object
com.jwplayer.pub.api.media.playlists.ExternalMetadata
- All Implemented Interfaces:
android.os.Parcelable
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
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoubleintgetId()doublevoidwriteToParcel(android.os.Parcel dest, int flags)
-
Field Details
-
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()- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-