Class A3LLocationSettingsRequest

  • All Implemented Interfaces:
    android.os.Parcelable

    public class A3LLocationSettingsRequest
    extends java.lang.Object
    implements android.os.Parcelable
    This class provides replication of LocationSettingsRequest .

    Specifies the types of location services the client is interested in using. Settings will be checked for optimal functionality of all requested services. Use A3LLocationSettingsRequest.Builder to construct this object.

    Note: For Android devices without Google Play Services, it will only check if the respective features are present and/or usable. It will not support ResolvableAPIException.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  A3LLocationSettingsRequest.Builder
      A builder that builds A3LLocationSettingsRequest.
      • 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<A3LLocationSettingsRequest> 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
    • Field Detail

      • CREATOR

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

      • getAllLocationRequests

        public java.util.List<A3LLocationRequest> getAllLocationRequests()
        Returns:
        Settings which will be checked for optimal performance of all A3LLocationRequest.
      • isBleNeeded

        public boolean isBleNeeded()
        Returns:
        If BLE is needed.
      • isAlwaysShow

        public boolean isAlwaysShow()
        Returns:
        Whether or not location is required by the calling app in order to continue.
      • describeContents

        public int describeContents()
        Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
        Specified by:
        describeContents in interface android.os.Parcelable
        Returns:
        a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
      • 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 o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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