Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated IDL and related info

...

Code Block
languagejs
titlesystem IDL
collapsetrue
[interface System {
     GarbageCollected
] interface System {void reboot();
    void factoryReset();
    void rebootrebootWithCrashReport();
    Promise <void>Promise<void> setImageSizeThreshold(Size size);
};

interface Size {
    attribute int width;
    attribute int height;
};

...

Instructs the player to perform a soft reboot.

factoryReset()
Code Block
languagejs
 void factoryReset()

Instructs the player to perform a factory reset.

rebootWithCrashReport()
Code Block
languagejs
 void rebootWithCrashReport()

Instructs the player to perform a reboot with a crash report.

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

Changes the maximum allowed resolution for images. This method accepts a Size interface specifying the new allowed resolution.

...