Class A3LLastLocationRequest

  • All Implemented Interfaces:
    android.os.Parcelable

    public class A3LLastLocationRequest
    extends java.lang.Object
    implements android.os.Parcelable
    This class provides replication of LastLocationRequest .
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  A3LLastLocationRequest.Builder
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.ContentsFlags, android.os.Parcelable.Creator<T>, android.os.Parcelable.Stability, android.os.Parcelable.WriteFlags
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<A3LLastLocationRequest> CREATOR
      Creator used for fetching data from the parcel received by an activity
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_STABILITY_LOCAL, PARCELABLE_STABILITY_VINTF, PARCELABLE_WRITE_RETURN_VALUE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int describeContents()
      Needed for Parcelling
      boolean equals​(java.lang.Object object)
      Overridden method to verify if the current A3LLastLocationRequest object and the one requested have same data.
      int getGranularity()
      The A3LGranularity of locations returned for this request.
      long getMaxUpdateAgeMillis()
      The maximum age of any location returned for this request.
      int hashCode()  
      java.lang.String toString()  
      void writeToParcel​(android.os.Parcel dest, int flags)
      Flatten this object in to a Parcel.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface android.os.Parcelable

        getStability
    • Field Detail

      • CREATOR

        @NonNull
        public static final android.os.Parcelable.Creator<A3LLastLocationRequest> CREATOR
        Creator used for fetching data from the parcel received by an activity
    • Method Detail

      • getMaxUpdateAgeMillis

        public long getMaxUpdateAgeMillis()
        The maximum age of any location returned for this request. A value of Long.MAX_VALUE represents an effectively unbounded maximum age.
        Returns:
        long: Maximum age of any location returned.
      • getGranularity

        public int getGranularity()
        The A3LGranularity of locations returned for this request. This controls whether fine or coarse locations may be returned.
        Returns:
        int: Granularity of the location.
      • toString

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

        public int describeContents()
        Needed for Parcelling
        Specified by:
        describeContents in interface android.os.Parcelable
        Returns:
        int: 0
      • writeToParcel

        public void writeToParcel​(@NonNull
                                  android.os.Parcel dest,
                                  int flags)
        Flatten this object in to a Parcel.
        Specified by:
        writeToParcel in interface android.os.Parcelable
        Parameters:
        dest - The Parcel in which the object should be written.
        flags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
      • equals

        public boolean equals​(java.lang.Object object)
        Overridden method to verify if the current A3LLastLocationRequest object and the one requested have same data.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        object - : A3LLastLocationRequest
        Returns:
        boolean: true if both objects have same information
      • hashCode

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