Package com.amazon.A3L.location
Class A3LLocationSettingsResponse
- java.lang.Object
-
- com.google.android.gms.common.api.Response<A3LLocationSettingsResult>
-
- com.amazon.A3L.location.A3LLocationSettingsResponse
-
public class A3LLocationSettingsResponse extends com.google.android.gms.common.api.Response<A3LLocationSettingsResult>
This class provides replication of LocationSettingsResponse .Successful response of checking settings via
A3LSettingsClient.checkLocationSettings(A3LLocationSettingsRequest)
.If a
Task
with this response type fails, it will receive aResolvableApiException
which may be able to resolve the failure. SeeA3LSettingsClient
for more details.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.
The current location settings states can be accessed via
getLocationSettingsStates()
. SeeA3LLocationSettingsResult
for more details.
-
-
Constructor Summary
Constructors Constructor Description A3LLocationSettingsResponse(A3LLocationSettingsResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A3LLocationSettingsStates
getLocationSettingsStates()
Retrieves the location settings states.
-
-
-
Constructor Detail
-
A3LLocationSettingsResponse
public A3LLocationSettingsResponse(@NonNull A3LLocationSettingsResult result)
-
-
Method Detail
-
getLocationSettingsStates
@Nullable public A3LLocationSettingsStates getLocationSettingsStates()
Retrieves the location settings states.
-
-