...
Code Block |
---|
language | js |
---|
title | system IDL |
---|
collapse | true |
---|
|
[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 |
---|
|
void factoryReset() |
Instructs the player to perform a factory reset.
rebootWithCrashReport()
Code Block |
---|
|
void rebootWithCrashReport() |
Instructs the player to perform a reboot with a crash report.
setImageSizeThreshold()
Code Block |
---|
|
PromisePromise<void> <void> setImageSizeThreshold(Size size) |
Changes the maximum allowed resolution for images. This method accepts a Size interface specifying the new allowed resolution.
...