getRemotePermissionList()

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

Description

Get remote unlock permission list

Parameters

None

Return Value

Type: RemotePermissionType[]
List of selectable remote door open/close permission constants (tiers)

Referenced Types

enumRemotePermissionType
ValueActual ValueDescription
RemotePermissionType.EVERY_ONEeveryOneEveryone allowed
RemotePermissionType.ADMINS_ONLYadminsOnlyAdmins only
RemotePermissionType.NO_ONEnoOneNo one allowed

Examples

import { getRemotePermissionList } from '@ray-js/lock-sdk';
const permissionList = getRemotePermissionList();