Class ExternalMetadata

java.lang.Object
com.jwplayer.pub.api.media.playlists.ExternalMetadata
All Implemented Interfaces:
android.os.Parcelable

public class ExternalMetadata extends 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
  • Nested Class Summary

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final android.os.Parcelable.Creator<ExternalMetadata>
     

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExternalMetadata(int id, double startTime, double endTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    double
     
    int
     
    double
     
    void
    writeToParcel(android.os.Parcel dest, int flags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CREATOR

      public static final android.os.Parcelable.Creator<ExternalMetadata> 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:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable