Verifies an owner password and refreshes the UI permission state for this viewer.
The owner (permission) password.
Optional
The viewer key; the active viewer by default.
true when the password is correct.
true
const ok = await instance.UI.checkPermissionPassword('owner-password'); Copy
const ok = await instance.UI.checkPermissionPassword('owner-password');
Verifies an owner password and refreshes the UI permission state for this viewer.