@ray-js/api 1.7.80 → 1.7.82
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/@types/AIKit.d.ts +2296 -1291
- package/@types/AIStreamKit.d.ts +687 -444
- package/@types/AVideoKit.d.ts +148 -62
- package/@types/BaseKit.d.ts +3881 -333
- package/@types/BizKit.d.ts +2450 -325
- package/@types/CategoryCommonBizKit.d.ts +17 -17
- package/@types/DeviceKit.d.ts +2334 -331
- package/@types/HealthKit.d.ts +479 -299
- package/@types/HomeKit.d.ts +2026 -1093
- package/@types/IPCKit.d.ts +1838 -103
- package/@types/LightKit.d.ts +38 -2
- package/@types/MapKit.d.ts +780 -600
- package/@types/MediaKit.d.ts +34 -28
- package/@types/MediaPlayerKit.d.ts +28 -4
- package/@types/MiniKit.d.ts +1320 -230
- package/@types/OutdoorKit.d.ts +1966 -64
- package/@types/P2PKit.d.ts +461 -150
- package/@types/PayKit.d.ts +79 -10
- package/@types/PlayNetKit.d.ts +1542 -158
- package/@types/ThirdAuthKit.d.ts +252 -28
- package/@types/ThirdPartyDeviceKit.d.ts +2 -2
- package/@types/WearKit.d.ts +1706 -661
- package/lib/WearKit-3.1.0.d.ts +426 -0
- package/lib/WearKit-3.1.0.js +599 -0
- package/lib/all-kits.d.ts +1 -1
- package/lib/all-kits.js +1 -1
- package/package.json +5 -5
- package/lib/WearKit-1.1.6.d.ts +0 -126
- package/lib/WearKit-1.1.6.js +0 -180
package/@types/LightKit.d.ts
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* LightKit
|
|
3
3
|
*
|
|
4
|
-
* @version 1.0.
|
|
4
|
+
* @version 1.0.19
|
|
5
5
|
*/
|
|
6
6
|
declare namespace ty.light {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* 设置蓝牙设备是否支持手机直连开关状态切换,传入 true 表示开启支持,false 表示关闭支持。
|
|
9
9
|
* @public
|
|
10
10
|
* @since LightKit 1.0.0
|
|
11
|
+
* @example Demo
|
|
12
|
+
* ```tsx
|
|
13
|
+
* ty.light.onLocalMeshSupportSwitchChanged({
|
|
14
|
+
* isChecked: false,
|
|
15
|
+
* success: data => {
|
|
16
|
+
* console.log(data);
|
|
17
|
+
* },
|
|
18
|
+
* fail: error => {
|
|
19
|
+
* console.error(error);
|
|
20
|
+
* },
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
11
23
|
* @platform iOS Android
|
|
12
24
|
*/
|
|
13
25
|
export function onLocalMeshSupportSwitchChanged(params: {
|
|
@@ -40,6 +52,17 @@ declare namespace ty.light {
|
|
|
40
52
|
* 获取当前蓝牙设备是否支持手机直连开关状态
|
|
41
53
|
* @public
|
|
42
54
|
* @since LightKit 1.0.0
|
|
55
|
+
* @example Demo
|
|
56
|
+
* ```tsx
|
|
57
|
+
* ty.light.getLocalMeshSupportSwitchStatus({
|
|
58
|
+
* success: data => {
|
|
59
|
+
* console.log(data);
|
|
60
|
+
* },
|
|
61
|
+
* fail: error => {
|
|
62
|
+
* console.error(error);
|
|
63
|
+
* },
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
43
66
|
* @platform iOS Android
|
|
44
67
|
*/
|
|
45
68
|
export function getLocalMeshSupportSwitchStatus(params?: {
|
|
@@ -67,6 +90,19 @@ declare namespace ty.light {
|
|
|
67
90
|
* 跳转群组管理页面
|
|
68
91
|
* @public
|
|
69
92
|
* @since LightKit 1.0.12
|
|
93
|
+
* @example Demo
|
|
94
|
+
* ```tsx
|
|
95
|
+
* ty.light.gotoLightGroupManagePage({
|
|
96
|
+
* entityId: "xx",
|
|
97
|
+
* roomId: 1,
|
|
98
|
+
* success: data => {
|
|
99
|
+
* console.log(data);
|
|
100
|
+
* },
|
|
101
|
+
* fail: error => {
|
|
102
|
+
* console.error(error);
|
|
103
|
+
* },
|
|
104
|
+
* });
|
|
105
|
+
* ```
|
|
70
106
|
* @platform iOS Android
|
|
71
107
|
*/
|
|
72
108
|
export function gotoLightGroupManagePage(params: {
|