FastPairStatusCodes
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The FastPairStatusCodes class provides status codes for nearby fast pair results.
Specific status codes include FAILED_INVALID_ARGUMENTS, FAILED_NOT_SUPPORTED, FAILED_PERMISSION_DENIED, and SUCCESS.
These status codes indicate whether an operation was successful or failed due to reasons like invalid arguments, lack of support, or insufficient permissions.
The class inherits status codes and methods from com.google.android.gms.common.api.CommonStatusCodes.
[[["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 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"]]