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.
| ENUM info |
| public enum UserVerificationRequirement |
| Enumerates user verification requirement levels. The enumerated values can be used by the relying party to differentiate user verification requirements in different operations. |
| Type | Desc |
| REQUIRED | User verification is required. |
| PREFERRED | If possible, the relying party preferentially performs user authentication during an operation. However, if the user authentication flag is not set in the response, the operation will not fail. |
| DISCOURAGED | The relying party does not want to perform user authentication during an operation (for example, to minimize interference with the user interaction flow). |
| Return type | Method name |
| UserVerificationRequirement | fromValue(String value) Generates an instance of UserVerificationRequirement based on the name. |
| String | getValue() Obtains an enumerated value of UserVerificationRequirement. |
| Method |
| UserVerificationRequirement fromValue(String value) |
| Generates an instance of UserVerificationRequirement based on the name. |
Parameters
| Parameter name | Parameter desc |
| value | Enumerated user verification requirement. required: User verification is required. preferred: If possible, the relying party preferentially performs user authentication during an operation. However, if the user authentication flag is not set in the response, the operation will not fail. discouraged: The relying party does not want to perform user authentication during an operation (for example, to minimize interference with the user interaction flow). |
Return
| type | desc |
| UserVerificationRequirement | Instance of UserVerificationRequirement. |
| Method |
| String getValue() |
| Obtains an enumerated value of UserVerificationRequirement. |
Return
| type | desc |
| String | Enumerated value of UserVerificationRequirement. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.