getFitOfflinePwdAvailable(pwdType: string)
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Check whether a given type of offline password for the current accessory can still be obtained (one-time/clear codes limited to 10 per hour).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
pwdType | string | Yes | Password type ('1' one-time / '9' clear code) |
Return Value
Type: Promise<OfflinePwdAvailableResult>
{ available, nextAvailableTime }