Skip to main content
Version: v3.x

setScreenOff

Call setScreenOff to rest the screen.

Type

() => result

Parameters

result

DescriptionType
The result of the operation, 0 means the setting was successfulnumber

Code example

const result = hmSetting.setScreenOff()