Class (VerifyPinHandler)
Defines the PIN verification handler object returned by the Web component. For details about the sample code, see onVerifyPin.
NOTE
This component is supported since API version 22. Updates will be marked with a superscript to indicate their earliest API version.
The initial APIs of this class are supported since API version 22.
The sample effect is subject to the actual device.
constructor22+
constructor()
A constructor used to create a VerifyPinHandler instance.
System capability: SystemCapability.Web.Webview.Core
confirm22+
confirm(result: PinVerifyResult): void
Notifies the Web component of the PIN verification result.
System capability: SystemCapability.Web.Webview.Core
Parameters
| Name | Type | Mandatory | Description |
|---|---|---|---|
| result | PinVerifyResult | Yes | PIN verification result. |