Class ExternalMetadata
- java.lang.Object
-
- com.jwplayer.pub.api.media.playlists.ExternalMetadata
-
- All Implemented Interfaces:
android.os.Parcelable
public class ExternalMetadata extends java.lang.Object implements 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
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<ExternalMetadata>
CREATOR
-
Constructor Summary
Constructors Constructor Description ExternalMetadata(int id, double startTime, double endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
double
getEndTime()
int
getId()
double
getStartTime()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<ExternalMetadata> CREATOR
-
-
Method Detail
-
getId
public int getId()
-
getStartTime
public double getStartTime()
-
getEndTime
public double getEndTime()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
-