my.MQReadBiometricsPermission
Description: Open the ability of biological nuclear body verification to mini programs
Sample Code
copy
my.call('MQReadBiometricsPermission').then(res => {
my.alert({
content: JSON.stringify(res)
})
})
Parameters
N/A
Success Callback Function
Name | Type | Required | Description |
success | Bool | true | Is the JSAPI call successful |
code | Int | true | 0: Verification successful -1: Verification failed -99: Verification canceled -100: The current device does not support biometric verification function -101: Biological verification is not available (cases where biological features are not entered, authorized, or permissions are not enabled are considered unavailable) |
message | String | false | error message |