@ray-js/api 1.7.79 → 1.7.80
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 +1140 -1009
- package/@types/AVideoKit.d.ts +26 -101
- package/@types/BaseKit.d.ts +234 -210
- package/@types/BizKit.d.ts +271 -296
- package/@types/DeviceKit.d.ts +57 -88
- package/@types/GroupCITestKit.d.ts +1 -3
- package/@types/HealthKit.d.ts +273 -230
- package/@types/HomeKit.d.ts +1062 -891
- package/@types/IPCKit.d.ts +23 -50
- package/@types/LightKit.d.ts +2 -2
- package/@types/MapKit.d.ts +592 -381
- package/@types/MediaPlayerKit.d.ts +4 -28
- package/@types/MiniKit.d.ts +198 -375
- package/@types/P2PKit.d.ts +139 -205
- package/@types/PayKit.d.ts +10 -79
- package/@types/SweeperKit.d.ts +10 -10
- package/@types/ThirdAuthKit.d.ts +28 -252
- package/@types/WearKit.d.ts +630 -1593
- package/@types/api-extend.d.ts +0 -63
- package/lib/AIKit-1.6.0.d.ts +732 -35
- package/lib/AIKit-1.6.0.js +732 -51
- package/lib/BaseKit-3.17.7.d.ts +0 -214
- package/lib/BaseKit-3.17.7.js +1 -227
- package/lib/DeviceKit-4.13.1.d.ts +3666 -0
- package/lib/DeviceKit-4.13.1.js +3666 -0
- package/lib/HealthKit-6.5.0.d.ts +603 -0
- package/lib/HealthKit-6.5.0.js +603 -0
- package/lib/HomeKit-3.1.4.d.ts +4 -0
- package/lib/HomeKit-3.1.4.js +4 -0
- package/lib/IPCKit-6.4.5.d.ts +0 -1
- package/lib/IPCKit-6.4.5.js +0 -1
- package/lib/MapKit-3.4.13.d.ts +251 -0
- package/lib/MapKit-3.4.13.js +251 -0
- package/lib/MediaKit-3.4.1.d.ts +16 -0
- package/lib/MediaKit-3.4.1.js +16 -0
- package/lib/PlayNetKit-1.3.30.d.ts +930 -0
- package/lib/PlayNetKit-1.3.30.js +930 -0
- package/lib/cloud/alarm.d.ts +38 -5
- package/lib/cloud/alarm.js +38 -5
- package/lib/cloud/device.d.ts +42 -6
- package/lib/cloud/device.js +42 -6
- package/lib/cloud/gateway.d.ts +16 -0
- package/lib/cloud/gateway.js +16 -0
- package/lib/cloud/health.d.ts +1 -0
- package/lib/cloud/health.js +272 -0
- package/lib/cloud/interface.d.ts +161 -0
- package/lib/cloud/interface.js +18 -0
- package/lib/cloud/statistic.d.ts +112 -26
- package/lib/cloud/statistic.js +112 -26
- package/lib/cloud/timer.d.ts +2 -4
- package/lib/nativeRouters/outdoors.d.ts +2 -0
- package/lib/nativeRouters/outdoors.js +2 -0
- package/lib/nativeRouters/remoteGroup.d.ts +2 -0
- package/lib/nativeRouters/remoteGroup.js +2 -0
- package/lib/panel/publishDps.js +1 -1
- package/package.json +5 -5
|
@@ -1,47 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* MediaPlayerKit
|
|
3
3
|
*
|
|
4
|
-
* @version 1.0.
|
|
4
|
+
* @version 1.0.33
|
|
5
5
|
*/
|
|
6
6
|
declare namespace ty.mediaplayer {
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
* @public
|
|
10
|
-
* @since MediaPlayerKit 1.0.0
|
|
11
|
-
* @platform iOS Android
|
|
12
|
-
*/
|
|
8
|
+
*@description 进入摄像头设置页面*/
|
|
13
9
|
export function gotoCameraPanelMore(params: {
|
|
14
|
-
/**
|
|
15
|
-
* 设备id
|
|
16
|
-
* @since MediaPlayerKit 1.0.0
|
|
17
|
-
*/
|
|
10
|
+
/** 设备id */
|
|
18
11
|
devId: string
|
|
19
|
-
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
|
|
20
|
-
complete?: () => void
|
|
21
|
-
/** 接口调用成功的回调函数 */
|
|
22
12
|
success?: (params: boolean) => void
|
|
23
|
-
/** 接口调用失败的回调函数 */
|
|
24
13
|
fail?: (params: {
|
|
25
|
-
/** 错误信息 */
|
|
26
14
|
errorMsg: string
|
|
27
|
-
/** 错误码 */
|
|
28
15
|
errorCode: string | number
|
|
29
|
-
/** 错误扩展 */
|
|
30
16
|
innerError: {
|
|
31
|
-
/** 错误扩展码 */
|
|
32
17
|
errorCode: string | number
|
|
33
|
-
/** 错误扩展信息 */
|
|
34
18
|
errorMsg: string
|
|
35
19
|
}
|
|
36
20
|
}) => void
|
|
21
|
+
complete?: () => void
|
|
37
22
|
}): void
|
|
38
|
-
|
|
39
|
-
/** @since MediaPlayerKit 1.0.0 */
|
|
40
|
-
export interface DevModel {
|
|
41
|
-
/**
|
|
42
|
-
* 设备id
|
|
43
|
-
* @since MediaPlayerKit 1.0.0
|
|
44
|
-
*/
|
|
45
|
-
devId: string
|
|
46
|
-
}
|
|
47
23
|
}
|