The system object provides functions related to the system software.
...
Instructs the player to perform a reboot with a crash report.
suspend()
Code Block |
---|
void suspend() |
Puts the player into low power mode, if it is supported on the platform. The player will turn off peripherals and most of the core functionality to save power. It can be woken up with RST, SVC button, or other platform-dependent wake up sources(RTC, Wake-On-Lan etc.). Available as of BOS 9.0.168.
setImageSizeThreshold()
Code Block | ||
---|---|---|
| ||
Promise<void> setImageSizeThreshold(Size size) |
...
This interface describes the dimensions of an image.
width
int: The width of the imageheight
int: The height of the image
...