ApiException
public class ApiException extends Exception
java.lang.Object | |||
↳ | kotlin.Throwable | ||
↳ | java.lang.Exception | ||
↳ | com.google.android.gms.common.api.ApiException |
ResolvableApiException |
Exception to be returned by a Task when a call to Google Play services has failed with a possible resolution. |
Exception to be returned by a Task when a call to Google Play services has failed.
Summary
Protected fields |
|
---|---|
final Status |
@SuppressViolation(value = "hide_members_annotation") This field is deprecated. use |
Public constructors |
---|
ApiException(@NonNull Status status) Create an ApiException from a |
Public methods |
|
---|---|
@NonNull Status |
Returns the status of the operation. |
int |
Indicates the status of the operation. |
@Nullable String |
This method is deprecated. use |
Inherited methods |
---|
Protected fields
Public constructors
Public methods
getStatusCode
public int getStatusCode()
Indicates the status of the operation.
Returns | |
---|---|
int |
Status code resulting from the operation. The value is one of the constants in or specific to the API in use. |