FastPairStatusCodes
Stay organized with collections
Save and categorize content based on your preferences.
Status codes for nearby fast pair results.
Inherited Constant Summary
From class
com.google.android.gms.common.api.CommonStatusCodes
| int |
API_NOT_CONNECTED |
|
| int |
CANCELED |
|
| int |
CONNECTION_SUSPENDED_DURING_CALL |
|
| int |
DEVELOPER_ERROR |
|
| int |
ERROR |
|
| int |
INTERNAL_ERROR |
|
| int |
INTERRUPTED |
|
| int |
INVALID_ACCOUNT |
|
| int |
NETWORK_ERROR |
|
| int |
RECONNECTION_TIMED_OUT |
|
| int |
RECONNECTION_TIMED_OUT_DURING_UPDATE |
|
| int |
REMOTE_EXCEPTION |
|
| int |
RESOLUTION_REQUIRED |
|
| int |
SERVICE_DISABLED |
|
| int |
SERVICE_VERSION_UPDATE_REQUIRED |
|
| int |
SIGN_IN_REQUIRED |
|
| int |
SUCCESS |
|
| int |
SUCCESS_CACHE |
|
| int |
TIMEOUT |
|
Public Constructor Summary
Inherited Method Summary
From class
com.google.android.gms.common.api.CommonStatusCodes
|
static String
|
getStatusCodeString(int arg0)
|
From class java.lang.Object
|
Object
|
clone()
|
| boolean |
|
| void |
finalize()
|
|
final Class<?>
|
getClass()
|
| int |
hashCode()
|
| final void |
notify()
|
| final void |
notifyAll()
|
|
String
|
toString()
|
| final void |
wait(long arg0, int arg1)
|
| final void |
wait(long arg0)
|
| final void |
wait()
|
Constants
public static final int
FAILED_INVALID_ARGUMENTS
The client invokes the API with invalid arguments.
Constant Value: 40502
public static final int
FAILED_NOT_SUPPORTED
The client invokes the API but it's not supported for some reason. For example, it
is deprecated or not enabled on this platform.
Constant Value: 40504
public static final int
FAILED_PERMISSION_DENIED
The client doesn't have the required permissions for
calling the API.
Constant Value: 40503
public static final int
SUCCESS
The operation was successful.
Constant Value: 0
Public Constructors
public FastPairStatusCodes ()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[],["`FastPairStatusCodes` defines status codes for Fast Pair API results. Key actions include invoking the API, which can succeed (`SUCCESS`) or fail due to invalid arguments (`FAILED_INVALID_ARGUMENTS`), lack of support (`FAILED_NOT_SUPPORTED`), or missing permissions (`FAILED_PERMISSION_DENIED`). It inherits additional status codes, like `NETWORK_ERROR` and `TIMEOUT`, from `CommonStatusCodes`. `FastPairStatusCodes` constructor is available to set status. Finally it provides a method `getStatusCodeString` to get the string representation of a status code.\n"]]