Function
This component is used to fix the frame rate of the engine for balance between the effect and power consumption.
XML Specifications
<Lockscreen frameRate="" vibrate="" screenWidth="" pressure="">
</Lockscreen>
Parameters
Parameter | Type | Mandatory | Description |
frameRate | Number | No | Frame rate for screen refresh. A larger value indicates better effect but higher power consumption. The default value is 60 and the recommended value is 30. |
Examples
Fix the frame rate for screen refresh to 30.
<Lockscreen version="1" frameRate="30" vibrate="false" screenWidth="1080" id="">
</Lockscreen>