Class 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
    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<ExternalMetadata> CREATOR  
      • 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)  
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<ExternalMetadata> CREATOR
    • Constructor Detail

      • ExternalMetadata

        public ExternalMetadata​(int id,
                                double startTime,
                                double endTime)
    • Method Detail

      • 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