May 19, 2021 WeChat Mini Program Development Document
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Mifare Ultralight label
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Disconnect
Property | Type | The default | Required | Description |
---|---|---|---|---|
success | function | Whether | The interface calls a successful callback function | |
fail | function | Whether | The interface calls the failed callback function | |
complete | function | Whether | Callback function at end of interface call (call succeeds, fails are executed) |
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Connect the NFC label
Property | Type | The default | Required | Description |
---|---|---|---|---|
success | function | Whether | The interface calls a successful callback function | |
fail | function | Whether | The interface calls the failed callback function | |
complete | function | Whether | Callback function at end of interface call (call succeeds, fails are executed) |
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Gets the maximum transfer length
Property | Type | The default | Required | Description |
---|---|---|---|---|
success | function | Whether | The interface calls a successful callback function | |
fail | function | Whether | The interface calls the failed callback function | |
complete | function | Whether | Callback function at end of interface call (call succeeds, fails are executed) |
Property | Type | Description |
---|---|---|
length | number | Maximum transmission length |
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Set a timeout
Property | Type | The default | Required | Description |
---|---|---|---|---|
timeout | number | Is | Set timeout (ms) | |
success | function | Whether | The interface calls a successful callback function | |
fail | function | Whether | The interface calls the failed callback function | |
complete
|
function | Whether | Callback function at end of interface call (call succeeds, fails are executed) |
Base library 2.11.2 starts to be supported, and low versions need to be compatible.
Send data
Property | Type | The default | Required | Description |
---|---|---|---|---|
data | ArrayBuffer | Is | The binary data that needs to be passed | |
success | function | Whether | The interface calls a successful callback function | |
fail | function | Whether | The interface calls the failed callback function | |
complete | function | Whether | Callback function at end of interface call (call succeeds, fails are executed) |
Property | Type | Description |
---|---|---|
data | ArrayBuffer |