Tuya MiniApp
  • Introduction
  • Development
  • Solution
GuideFrameworkDevtoolsComponentsAPIChangelogFAQ
  • Device log
  • Group
  • Measurement
  • Weather
  • Outdoors
      • Add Unlock Password
      • Start Adding Unlock Method
      • Cancel Adding Unlock Method
      • Register Unlock Method Step Listener
      • Unregister Unlock Method Step Listener
      • Check if SMS Notification is Supported
      • Send Mobile Verification Code
      • Update Unlock Method
      • Delete Unlock Method
      • Check for Unbound Unlock Methods
      • Get Unassociated Unlock Method List
      • Get Unlock Method Details
      • Get Unlock Method Guide
      • Sync Unlock Method
      • Bind Unassociated Unlock Method to User
      • Bind Unassociated Unlock Method from Log to User
      • Unbind User's Unlock Method

syncUnlockMethod()

Requires:
@ray-js/lock-sdk≥1.0.0

Description

Send a command to the device to synchronize unlock methods

Parameters

None

Return Value

Type: Promise<void>
None (resolves after sync completes)

Examples

import { syncUnlockMethod } from '@ray-js/lock-sdk';
await syncUnlockMethod();
Previous pageGet Unlock Method GuideNext pageBind Unassociated Unlock Method to User
On this page