Class Extension

  • All Implemented Interfaces:
    android.os.Parcelable

    public final class Extension
    extends java.lang.Object
    implements android.os.Parcelable
    Class that represents extensions.
    • 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<Extension> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int describeContents()  
      java.lang.String getType()
      Returns type of extension.
      java.lang.String getValue()
      Returns value of extension.
      void writeToParcel​(android.os.Parcel dest, int flags)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Extension> CREATOR
    • Method Detail

      • getType

        @NonNull
        public java.lang.String getType()
        Returns type of extension.
        Returns:
        Type of extension.
      • getValue

        @NonNull
        public java.lang.String getValue()
        Returns value of extension.
        Returns:
        Value of extension.
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

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