ms-types 0.0.87 → 0.1.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.0.87",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/hid.d.ts CHANGED
@@ -246,6 +246,12 @@ declare namespace hid {
246
246
  */
247
247
  function openApp(name: string): boolean;
248
248
 
249
+ /**
250
+ * 切换到前台
251
+ * @returns 操作是否成功
252
+ */
253
+ function takeMeToFront(): boolean;
254
+
249
255
  /**
250
256
  * 获取当前打开应用信息(仅 IOS18+)
251
257
  * @returns 当前打开应用信息
@@ -250,6 +250,12 @@ declare namespace $HID {
250
250
  */
251
251
  function 打开App(name: 字符串): 布尔值;
252
252
 
253
+ /**
254
+ * 切换到前台
255
+ * @returns 操作是否成功
256
+ */
257
+ function APP切入前台(): 布尔值;
258
+
253
259
  /**
254
260
  * 获取当前打开应用信息(仅 IOS18+)
255
261
  * @returns 当前打开应用信息