useScreenAlwaysOn
Requires:
@ray-js/panel-sdk≥1.0.0
Method signature
useScreenAlwaysOn()Description
Keep the device screen on while the component is mounted and restore it on unmount
Parameters
None
Return Value
None
useScreenAlwaysOn()Keep the device screen on while the component is mounted and restore it on unmount
None
None