ms-types 0.3.16 → 0.3.17
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.
package/package.json
CHANGED
package/types/hid.d.ts
CHANGED
|
@@ -40,6 +40,17 @@ declare const hidKey: {
|
|
|
40
40
|
* HID模块 包含点击、滑动、长按滑动、返回首页等动作
|
|
41
41
|
*/
|
|
42
42
|
declare namespace hid {
|
|
43
|
+
/**
|
|
44
|
+
* 打开录屏界面
|
|
45
|
+
*/
|
|
46
|
+
function openRecordScreen(): void;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 检查录屏是否开启
|
|
50
|
+
* @returns 是否开启
|
|
51
|
+
*/
|
|
52
|
+
function isRecording(): boolean;
|
|
53
|
+
|
|
43
54
|
/**
|
|
44
55
|
* 设置动作抖动值
|
|
45
56
|
* @param value 抖动值
|
|
@@ -42,6 +42,17 @@ declare const $HID按键: {
|
|
|
42
42
|
* HID模块 包含点击、滑动、长按滑动、返回首页等动作
|
|
43
43
|
*/
|
|
44
44
|
declare namespace $HID {
|
|
45
|
+
/**
|
|
46
|
+
* 打开录屏界面
|
|
47
|
+
*/
|
|
48
|
+
function 打开录屏界面(): 无返回值;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* 检查录屏是否开启
|
|
52
|
+
* @returns 是否开启
|
|
53
|
+
*/
|
|
54
|
+
function 录屏是否开启(): 布尔值;
|
|
55
|
+
|
|
45
56
|
/**
|
|
46
57
|
* 设置动作抖动值
|
|
47
58
|
* @param 抖动值
|