Package android.os

Class ParcelUuid

  • All Implemented Interfaces:
    Parcelable

    public class ParcelUuid
    extends java.lang.Object
    implements Parcelable
    Parcelable wrapper around the UUID class.
    • Constructor Detail

      • ParcelUuid

        public ParcelUuid​(java.util.UUID uuid)
    • Method Detail

      • fromString

        public static ParcelUuid fromString​(java.lang.String uuid)
      • getUuid

        public java.util.UUID getUuid()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshaled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        Bitmask of CONTENTS_* flags.
      • writeToParcel

        public void writeToParcel​(Parcel dest,
                                  int flags)
        Description copied from interface: Parcelable
        Flatten this object in to a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        Parameters:
        dest - The parcelable to write to.
        flags - Bitmask of PARCELABLE_WRITE_* flags.