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 2023-12-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-26 UTC."],[[["`FastPairStatusCodes` defines status codes for Nearby Fast Pair results, indicating the outcome of Fast Pair operations."],["These codes include success (0), invalid arguments (40502), permission denied (40503), and not supported (40504)."],["`FastPairStatusCodes` extends `CommonStatusCodes`, inheriting additional status codes like `API_NOT_CONNECTED`, `CANCELED`, and more."],["Developers can use `getStatusCodeString()` to get a human-readable representation of a status code."]]],[]]