Tuya MiniApp
  • Introduction
  • Development
  • Solution
GuideFrameworkDevtoolsComponentsAPIChangelogFAQ
  • Device log
  • Group
  • Measurement
  • Weather
  • Outdoors
      • Check if Remote Lock Control is Available
      • Unlock
      • Lock
      • Get Current Remote Lock Control Permission
      • Get Remote Lock Control Permission List
      • Enable or Disable Remote Lock/Unlock Function
      • Get Remote Lock/Unlock Function Status
      • Update Remote Lock Control Permission
      • Approve Remote Unlock Request
      • Reject Remote Unlock Request
      • Get Voice Unlock Password Status
      • Disable Voice Unlock Password
      • Update Voice Unlock Password

getRemoteEnabled

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

Method signature
getRemoteEnabled()

Description

Get remote lock/unlock enablement status

Parameters

None

Return Value

Type: boolean
Whether enabled

Examples

import { getRemoteEnabled } from '@ray-js/lock-sdk';
const enabled = getRemoteEnabled();
Previous pageEnable or Disable Remote Lock/Unlock FunctionNext pageUpdate Remote Lock Control Permission
On this page