Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.)

setImageSizeThreshold()
Code Block
languagejs
Promise<void> setImageSizeThreshold(Size size)

...

This interface describes the dimensions of an image.

  • width int: The width of the image

  • height int: The height of the image

...