Response UI Event
Transfer data to the device
Transfer data to the device, currently supporting data transfer for PIN and passphrase.
Params
type
â requiredstring
. type to respond toui-receive_pin
orui-receive_passphrase
payload
â requiredobject
Return the PIN code result
If entering the PIN on the software side, replace the content of
pin_value
. If the PIN needs to be entered on the hardware side, setpin_value
as@@ONEKEY_INPUT_PIN_IN_DEVICE
.
Return the Passphrase result
If the passphrase needs to be entered on the device, set value to '' and set passphraseOnDevice to true.
Last updated