deeke-script-app 1.5.8 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,15 +4,15 @@ declare global {
|
|
|
4
4
|
|
|
5
5
|
interface Device {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
* @param second
|
|
7
|
+
* 息屏后,保持 CPU 唤醒,延时释放
|
|
8
|
+
* @param second 保持 CPU 唤醒,延时释放,单位秒
|
|
9
9
|
*/
|
|
10
|
-
public
|
|
10
|
+
public keepCpuAwake(second: number): void;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* 关闭CPU唤醒状态
|
|
14
14
|
*/
|
|
15
|
-
public
|
|
15
|
+
public releaseCpuWakeLock(): void;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* 获取屏幕宽度
|