Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| CLASS info |
| public Interface Fido2Intent |
| Represents an API for starting the FIDO2 client for registration or authentication. |
| Return type | Method name |
| boolean | Checks whether the FIDO2 client can be started. |
| void | launchFido2Activity(Activity activity, int requestCode) Starts the FIDO2 client for registration or authentication. |
| Method |
| boolean canLaunch() |
| Checks whether the FIDO2 client can be started. |
| Method |
| void launchFido2Activity(Activity activity, int requestCode) |
| Starts the FIDO2 registration or authentication activity. |
Parameters
| Parameter name | Parameter desc |
| activity | Activity instance, which uses its onActivityResult method to receive a request for receiving the processing result of the FIDO2 client. |
| requestCode | Request code, which is used to determine whether the current process is registration or authentication.Fido2Client.REGISTRATION_REQUEST: registrationFido2Client.AUTHENTICATION_REQUEST: authentication. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.