@ray-js/api 1.7.70 → 1.7.72

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.
Files changed (154) hide show
  1. package/@types/AIKit.d.ts +5509 -610
  2. package/@types/AIStreamKit.d.ts +2641 -0
  3. package/@types/AVideoKit.d.ts +1827 -0
  4. package/@types/BaseKit.d.ts +8682 -1893
  5. package/@types/BizKit.d.ts +6639 -1038
  6. package/@types/CategoryCommonBizKit.d.ts +1459 -0
  7. package/@types/CommunityKit.d.ts +154 -0
  8. package/@types/DeviceKit.d.ts +18475 -5662
  9. package/@types/GroupCITestKit.d.ts +651 -0
  10. package/@types/HealthKit.d.ts +2290 -357
  11. package/@types/HomeKit.d.ts +4068 -182
  12. package/@types/IPCKit.d.ts +4327 -1227
  13. package/@types/LightKit.d.ts +125 -0
  14. package/@types/MapKit.d.ts +1560 -204
  15. package/@types/MediaKit.d.ts +136 -16
  16. package/@types/MediaPlayerKit.d.ts +47 -0
  17. package/@types/MiniKit.d.ts +2976 -628
  18. package/@types/OutdoorKit.d.ts +1337 -24
  19. package/@types/P2PKit.d.ts +622 -103
  20. package/@types/PayKit.d.ts +115 -0
  21. package/@types/PlayNetKit.d.ts +3454 -1309
  22. package/@types/SweeperKit.d.ts +154 -0
  23. package/@types/ThirdAuthKit.d.ts +324 -0
  24. package/@types/ThirdPartyDeviceKit.d.ts +410 -0
  25. package/@types/WearKit.d.ts +10177 -375
  26. package/@types/gateway.d.ts +349 -61
  27. package/@types/health.d.ts +486 -304
  28. package/lib/AIKit-1.6.0.d.ts +265 -41
  29. package/lib/AIKit-1.6.0.js +374 -120
  30. package/lib/BaseKit-3.17.7.d.ts +704 -0
  31. package/lib/BaseKit-3.17.7.js +720 -1
  32. package/lib/BizKit-4.10.4.d.ts +336 -0
  33. package/lib/BizKit-4.10.4.js +342 -5
  34. package/lib/DeviceKit-4.13.1.d.ts +996 -0
  35. package/lib/DeviceKit-4.13.1.js +1247 -249
  36. package/lib/HealthKit-6.5.0.d.ts +210 -44
  37. package/lib/HealthKit-6.5.0.js +295 -128
  38. package/lib/HomeKit-3.1.4.d.ts +20 -6
  39. package/lib/HomeKit-3.1.4.js +29 -14
  40. package/lib/IPCKit-6.4.5.d.ts +375 -77
  41. package/lib/IPCKit-6.4.5.js +525 -228
  42. package/lib/MapKit-3.4.13.d.ts +70 -16
  43. package/lib/MapKit-3.4.13.js +98 -47
  44. package/lib/MediaKit-3.4.1.d.ts +5 -3
  45. package/lib/MediaKit-3.4.1.js +7 -6
  46. package/lib/MiniKit-3.14.1.d.ts +300 -0
  47. package/lib/MiniKit-3.14.1.js +302 -0
  48. package/lib/OutdoorKit-1.0.4.d.ts +55 -13
  49. package/lib/OutdoorKit-1.0.4.js +78 -35
  50. package/lib/P2PKit-2.0.3.d.ts +125 -27
  51. package/lib/P2PKit-2.0.3.js +175 -78
  52. package/lib/PlayNetKit-1.3.30.d.ts +290 -60
  53. package/lib/PlayNetKit-1.3.30.js +407 -176
  54. package/lib/WearKit-1.1.6.d.ts +125 -27
  55. package/lib/WearKit-1.1.6.js +176 -77
  56. package/lib/all-kits.d.ts +10 -10
  57. package/lib/all-kits.js +10 -10
  58. package/lib/cloud/core.d.ts +31 -1
  59. package/lib/cloud/core.js +31 -1
  60. package/lib/cloud/device.d.ts +155 -24
  61. package/lib/cloud/device.js +153 -22
  62. package/lib/cloud/gateway.d.ts +254 -0
  63. package/lib/cloud/gateway.js +269 -9
  64. package/lib/cloud/health.d.ts +1 -0
  65. package/lib/cloud/health.js +121 -0
  66. package/lib/cloud/interface.d.ts +222 -44
  67. package/lib/cloud/interface.js +15 -2
  68. package/lib/cloud/laser-clean/deleteCleaningRecord/index.d.ts +27 -0
  69. package/lib/cloud/laser-clean/deleteCleaningRecord/index.js +28 -0
  70. package/lib/cloud/laser-clean/deleteCleaningRecord/type.d.ts +7 -0
  71. package/lib/cloud/laser-clean/deleteCleaningRecord/type.js +1 -0
  72. package/lib/cloud/laser-clean/deleteGyroCleanRecord/index.d.ts +27 -0
  73. package/lib/cloud/laser-clean/deleteGyroCleanRecord/index.js +28 -0
  74. package/lib/cloud/laser-clean/deleteGyroCleanRecord/type.d.ts +7 -0
  75. package/lib/cloud/laser-clean/deleteGyroCleanRecord/type.js +1 -0
  76. package/lib/cloud/laser-clean/deleteMultipleMapFiles/index.d.ts +27 -0
  77. package/lib/cloud/laser-clean/deleteMultipleMapFiles/index.js +28 -0
  78. package/lib/cloud/laser-clean/deleteMultipleMapFiles/type.d.ts +7 -0
  79. package/lib/cloud/laser-clean/deleteMultipleMapFiles/type.js +1 -0
  80. package/lib/cloud/laser-clean/getCleaningRecords/index.d.ts +30 -0
  81. package/lib/cloud/laser-clean/getCleaningRecords/index.js +31 -0
  82. package/lib/cloud/laser-clean/getCleaningRecords/type.d.ts +39 -0
  83. package/lib/cloud/laser-clean/getCleaningRecords/type.js +1 -0
  84. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/index.d.ts +29 -0
  85. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/index.js +30 -0
  86. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/type.d.ts +30 -0
  87. package/lib/cloud/laser-clean/getGyroCleanRecordDetail/type.js +1 -0
  88. package/lib/cloud/laser-clean/getGyroCleanRecords/index.d.ts +29 -0
  89. package/lib/cloud/laser-clean/getGyroCleanRecords/index.js +30 -0
  90. package/lib/cloud/laser-clean/getGyroCleanRecords/type.d.ts +35 -0
  91. package/lib/cloud/laser-clean/getGyroCleanRecords/type.js +1 -0
  92. package/lib/cloud/laser-clean/getGyroLatestCleanMap/index.d.ts +28 -0
  93. package/lib/cloud/laser-clean/getGyroLatestCleanMap/index.js +29 -0
  94. package/lib/cloud/laser-clean/getGyroLatestCleanMap/type.d.ts +28 -0
  95. package/lib/cloud/laser-clean/getGyroLatestCleanMap/type.js +1 -0
  96. package/lib/cloud/laser-clean/getMultipleMapFiles/index.d.ts +24 -0
  97. package/lib/cloud/laser-clean/getMultipleMapFiles/index.js +25 -0
  98. package/lib/cloud/laser-clean/getMultipleMapFiles/type.d.ts +29 -0
  99. package/lib/cloud/laser-clean/getMultipleMapFiles/type.js +1 -0
  100. package/lib/cloud/laser-clean/getSweeperStorageConfig/index.d.ts +24 -0
  101. package/lib/cloud/laser-clean/getSweeperStorageConfig/index.js +25 -0
  102. package/lib/cloud/laser-clean/getSweeperStorageConfig/type.d.ts +26 -0
  103. package/lib/cloud/laser-clean/getSweeperStorageConfig/type.js +1 -0
  104. package/lib/cloud/laser-clean/getVoiceList/index.d.ts +28 -0
  105. package/lib/cloud/laser-clean/getVoiceList/index.js +29 -0
  106. package/lib/cloud/laser-clean/getVoiceList/type.d.ts +48 -0
  107. package/lib/cloud/laser-clean/getVoiceList/type.js +1 -0
  108. package/lib/cloud/laser-clean/index.d.ts +1 -1
  109. package/lib/cloud/laser-clean/index.js +1 -1
  110. package/lib/cloud/laser-clean/map.d.ts +5 -7
  111. package/lib/cloud/laser-clean/map.js +5 -9
  112. package/lib/cloud/laser-clean/record.d.ts +5 -6
  113. package/lib/cloud/laser-clean/record.js +5 -7
  114. package/lib/cloud/laser-clean/renameHistoryMap/index.d.ts +28 -0
  115. package/lib/cloud/laser-clean/renameHistoryMap/index.js +29 -0
  116. package/lib/cloud/laser-clean/renameHistoryMap/type.d.ts +9 -0
  117. package/lib/cloud/laser-clean/renameHistoryMap/type.js +1 -0
  118. package/lib/cloud/laser-clean/voice.d.ts +1 -3
  119. package/lib/cloud/laser-clean/voice.js +1 -4
  120. package/lib/cloud/linkage.d.ts +271 -53
  121. package/lib/cloud/linkage.js +256 -51
  122. package/lib/cloud/remoteGroup.d.ts +37 -0
  123. package/lib/cloud/remoteGroup.js +37 -0
  124. package/lib/cloud/timer.d.ts +104 -26
  125. package/lib/cloud/timer.js +104 -26
  126. package/lib/getApp/index.thing.d.ts +47 -1
  127. package/lib/getApp/index.thing.js +40 -2
  128. package/lib/getBoundingClientRect/index.thing.d.ts +101 -1
  129. package/lib/getBoundingClientRect/index.thing.js +59 -0
  130. package/lib/getCurrentPages/index.thing.d.ts +40 -15
  131. package/lib/getCurrentPages/index.thing.js +36 -15
  132. package/lib/getCustomConfig/index.d.ts +5 -2
  133. package/lib/getCustomConfig/index.thing.d.ts +68 -2
  134. package/lib/getCustomConfig/index.thing.js +62 -0
  135. package/lib/getCustomConfig/index.wechat.d.ts +5 -2
  136. package/lib/getCustomConfig/type.d.ts +26 -15
  137. package/lib/getElementById/index.thing.d.ts +42 -1
  138. package/lib/getElementById/index.thing.js +40 -0
  139. package/lib/index.d.ts +3 -0
  140. package/lib/index.js +4 -2
  141. package/lib/nativeRouters/common.d.ts +8 -0
  142. package/lib/nativeRouters/device.d.ts +137 -5
  143. package/lib/nativeRouters/device.js +138 -6
  144. package/lib/nativeRouters/gw.d.ts +58 -8
  145. package/lib/nativeRouters/gw.js +57 -8
  146. package/lib/nativeRouters/outdoors.d.ts +16 -3
  147. package/lib/nativeRouters/outdoors.js +16 -3
  148. package/lib/nativeRouters/remoteGroup.d.ts +23 -0
  149. package/lib/nativeRouters/remoteGroup.js +23 -0
  150. package/lib/nativeRouters/root.d.ts +19 -0
  151. package/lib/nativeRouters/root.js +17 -0
  152. package/lib/openGroupCreate/index.d.ts +45 -0
  153. package/lib/openGroupCreate/index.js +32 -0
  154. package/package.json +5 -5
@@ -1,28 +1,126 @@
1
1
  /// <reference path="../@types/P2PKit.d.ts" />
2
- export declare const p2p: {
3
- P2PSDKInit: typeof ty.p2p.P2PSDKInit;
4
- deInitSDK: typeof ty.p2p.deInitSDK;
5
- isP2PActive: typeof ty.p2p.isP2PActive;
6
- isP2PActiveSync: typeof ty.p2p.isP2PActiveSync;
7
- connectDevice: typeof ty.p2p.connectDevice;
8
- disconnectDevice: typeof ty.p2p.disconnectDevice;
9
- uploadFile: typeof ty.p2p.uploadFile;
10
- cancelUploadTask: typeof ty.p2p.cancelUploadTask;
11
- downloadFile: typeof ty.p2p.downloadFile;
12
- cancelDownloadTask: typeof ty.p2p.cancelDownloadTask;
13
- downloadStream: typeof ty.p2p.downloadStream;
14
- queryAlbumFileIndexs: typeof ty.p2p.queryAlbumFileIndexs;
15
- onSessionStatusChange: typeof ty.p2p.onSessionStatusChange;
16
- offSessionStatusChange: typeof ty.p2p.offSessionStatusChange;
17
- onUploadProgressUpdate: typeof ty.p2p.onUploadProgressUpdate;
18
- offUploadProgressUpdate: typeof ty.p2p.offUploadProgressUpdate;
19
- onDownloadProgressUpdate: typeof ty.p2p.onDownloadProgressUpdate;
20
- offDownloadProgressUpdate: typeof ty.p2p.offDownloadProgressUpdate;
21
- onDownloadTotalProgressUpdate: typeof ty.p2p.onDownloadTotalProgressUpdate;
22
- offDownloadTotalProgressUpdate: typeof ty.p2p.offDownloadTotalProgressUpdate;
23
- onFileDownloadComplete: typeof ty.p2p.onFileDownloadComplete;
24
- offFileDownloadComplete: typeof ty.p2p.offFileDownloadComplete;
25
- onStreamPacketReceive: typeof ty.p2p.onStreamPacketReceive;
26
- offStreamPacketReceive: typeof ty.p2p.offStreamPacketReceive;
27
- appendDownloadStream: typeof ty.p2p.appendDownloadStream;
28
- };
2
+ /**
3
+ * @public
4
+ * @since @ray-js/ray 1.3.15
5
+ */
6
+ export declare const P2PSDKInit: typeof ty.p2p.P2PSDKInit;
7
+ /**
8
+ * @public
9
+ * @since @ray-js/ray 1.3.15
10
+ */
11
+ export declare const deInitSDK: typeof ty.p2p.deInitSDK;
12
+ /**
13
+ * @public
14
+ * @since @ray-js/ray 1.3.15
15
+ */
16
+ export declare const isP2PActive: typeof ty.p2p.isP2PActive;
17
+ /**
18
+ * @public
19
+ * @since @ray-js/ray 1.3.15
20
+ */
21
+ export declare const isP2PActiveSync: typeof ty.p2p.isP2PActiveSync;
22
+ /**
23
+ * @public
24
+ * @since @ray-js/ray 1.3.15
25
+ */
26
+ export declare const connectDevice: typeof ty.p2p.connectDevice;
27
+ /**
28
+ * @public
29
+ * @since @ray-js/ray 1.3.15
30
+ */
31
+ export declare const disconnectDevice: typeof ty.p2p.disconnectDevice;
32
+ /**
33
+ * @public
34
+ * @since @ray-js/ray 1.3.15
35
+ */
36
+ export declare const uploadFile: typeof ty.p2p.uploadFile;
37
+ /**
38
+ * @public
39
+ * @since @ray-js/ray 1.3.15
40
+ */
41
+ export declare const cancelUploadTask: typeof ty.p2p.cancelUploadTask;
42
+ /**
43
+ * @public
44
+ * @since @ray-js/ray 1.3.15
45
+ */
46
+ export declare const downloadFile: typeof ty.p2p.downloadFile;
47
+ /**
48
+ * @public
49
+ * @since @ray-js/ray 1.3.15
50
+ */
51
+ export declare const cancelDownloadTask: typeof ty.p2p.cancelDownloadTask;
52
+ /**
53
+ * @public
54
+ * @since @ray-js/ray 1.3.15
55
+ */
56
+ export declare const downloadStream: typeof ty.p2p.downloadStream;
57
+ /**
58
+ * @public
59
+ * @since @ray-js/ray 1.3.15
60
+ */
61
+ export declare const queryAlbumFileIndexs: typeof ty.p2p.queryAlbumFileIndexs;
62
+ /**
63
+ * @public
64
+ * @since @ray-js/ray 1.3.15
65
+ */
66
+ export declare const onSessionStatusChange: typeof ty.p2p.onSessionStatusChange;
67
+ /**
68
+ * @public
69
+ * @since @ray-js/ray 1.3.15
70
+ */
71
+ export declare const offSessionStatusChange: typeof ty.p2p.offSessionStatusChange;
72
+ /**
73
+ * @public
74
+ * @since @ray-js/ray 1.3.15
75
+ */
76
+ export declare const onUploadProgressUpdate: typeof ty.p2p.onUploadProgressUpdate;
77
+ /**
78
+ * @public
79
+ * @since @ray-js/ray 1.3.15
80
+ */
81
+ export declare const offUploadProgressUpdate: typeof ty.p2p.offUploadProgressUpdate;
82
+ /**
83
+ * @public
84
+ * @since @ray-js/ray 1.3.15
85
+ */
86
+ export declare const onDownloadProgressUpdate: typeof ty.p2p.onDownloadProgressUpdate;
87
+ /**
88
+ * @public
89
+ * @since @ray-js/ray 1.3.15
90
+ */
91
+ export declare const offDownloadProgressUpdate: typeof ty.p2p.offDownloadProgressUpdate;
92
+ /**
93
+ * @public
94
+ * @since @ray-js/ray 1.3.15
95
+ */
96
+ export declare const onDownloadTotalProgressUpdate: typeof ty.p2p.onDownloadTotalProgressUpdate;
97
+ /**
98
+ * @public
99
+ * @since @ray-js/ray 1.3.15
100
+ */
101
+ export declare const offDownloadTotalProgressUpdate: typeof ty.p2p.offDownloadTotalProgressUpdate;
102
+ /**
103
+ * @public
104
+ * @since @ray-js/ray 1.3.15
105
+ */
106
+ export declare const onFileDownloadComplete: typeof ty.p2p.onFileDownloadComplete;
107
+ /**
108
+ * @public
109
+ * @since @ray-js/ray 1.3.15
110
+ */
111
+ export declare const offFileDownloadComplete: typeof ty.p2p.offFileDownloadComplete;
112
+ /**
113
+ * @public
114
+ * @since @ray-js/ray 1.3.15
115
+ */
116
+ export declare const onStreamPacketReceive: typeof ty.p2p.onStreamPacketReceive;
117
+ /**
118
+ * @public
119
+ * @since @ray-js/ray 1.3.15
120
+ */
121
+ export declare const offStreamPacketReceive: typeof ty.p2p.offStreamPacketReceive;
122
+ /**
123
+ * @public
124
+ * @since @ray-js/ray 1.4.62
125
+ */
126
+ export declare const appendDownloadStream: typeof ty.p2p.appendDownloadStream;
@@ -3,81 +3,178 @@
3
3
  import { createFactory } from './utils';
4
4
  const factory = createFactory('P2PKit');
5
5
 
6
- // ray 1.4.0 集成
7
- export const p2p = {
8
- P2PSDKInit: factory('P2PSDKInit', {
9
- "namespace": "p2p"
10
- }),
11
- deInitSDK: factory('deInitSDK', {
12
- "namespace": "p2p"
13
- }),
14
- isP2PActive: factory('isP2PActive', {
15
- "namespace": "p2p"
16
- }),
17
- isP2PActiveSync: factory('isP2PActiveSync', {
18
- "namespace": "p2p"
19
- }),
20
- connectDevice: factory('connectDevice', {
21
- "namespace": "p2p"
22
- }),
23
- disconnectDevice: factory('disconnectDevice', {
24
- "namespace": "p2p"
25
- }),
26
- uploadFile: factory('uploadFile', {
27
- "namespace": "p2p"
28
- }),
29
- cancelUploadTask: factory('cancelUploadTask', {
30
- "namespace": "p2p"
31
- }),
32
- downloadFile: factory('downloadFile', {
33
- "namespace": "p2p"
34
- }),
35
- cancelDownloadTask: factory('cancelDownloadTask', {
36
- "namespace": "p2p"
37
- }),
38
- downloadStream: factory('downloadStream', {
39
- "namespace": "p2p"
40
- }),
41
- queryAlbumFileIndexs: factory('queryAlbumFileIndexs', {
42
- "namespace": "p2p"
43
- }),
44
- onSessionStatusChange: factory('onSessionStatusChange', {
45
- "namespace": "p2p"
46
- }),
47
- offSessionStatusChange: factory('offSessionStatusChange', {
48
- "namespace": "p2p"
49
- }),
50
- onUploadProgressUpdate: factory('onUploadProgressUpdate', {
51
- "namespace": "p2p"
52
- }),
53
- offUploadProgressUpdate: factory('offUploadProgressUpdate', {
54
- "namespace": "p2p"
55
- }),
56
- onDownloadProgressUpdate: factory('onDownloadProgressUpdate', {
57
- "namespace": "p2p"
58
- }),
59
- offDownloadProgressUpdate: factory('offDownloadProgressUpdate', {
60
- "namespace": "p2p"
61
- }),
62
- onDownloadTotalProgressUpdate: factory('onDownloadTotalProgressUpdate', {
63
- "namespace": "p2p"
64
- }),
65
- offDownloadTotalProgressUpdate: factory('offDownloadTotalProgressUpdate', {
66
- "namespace": "p2p"
67
- }),
68
- onFileDownloadComplete: factory('onFileDownloadComplete', {
69
- "namespace": "p2p"
70
- }),
71
- offFileDownloadComplete: factory('offFileDownloadComplete', {
72
- "namespace": "p2p"
73
- }),
74
- onStreamPacketReceive: factory('onStreamPacketReceive', {
75
- "namespace": "p2p"
76
- }),
77
- offStreamPacketReceive: factory('offStreamPacketReceive', {
78
- "namespace": "p2p"
79
- }),
80
- appendDownloadStream: factory('appendDownloadStream', {
81
- "namespace": "p2p"
82
- })
83
- };
6
+ /**
7
+ * @public
8
+ * @since @ray-js/ray 1.3.15
9
+ */
10
+ export const P2PSDKInit = factory('P2PSDKInit', {
11
+ namespace: 'p2p'
12
+ });
13
+ /**
14
+ * @public
15
+ * @since @ray-js/ray 1.3.15
16
+ */
17
+ export const deInitSDK = factory('deInitSDK', {
18
+ namespace: 'p2p'
19
+ });
20
+ /**
21
+ * @public
22
+ * @since @ray-js/ray 1.3.15
23
+ */
24
+ export const isP2PActive = factory('isP2PActive', {
25
+ namespace: 'p2p'
26
+ });
27
+ /**
28
+ * @public
29
+ * @since @ray-js/ray 1.3.15
30
+ */
31
+ export const isP2PActiveSync = factory('isP2PActiveSync', {
32
+ namespace: 'p2p'
33
+ });
34
+ /**
35
+ * @public
36
+ * @since @ray-js/ray 1.3.15
37
+ */
38
+ export const connectDevice = factory('connectDevice', {
39
+ namespace: 'p2p'
40
+ });
41
+ /**
42
+ * @public
43
+ * @since @ray-js/ray 1.3.15
44
+ */
45
+ export const disconnectDevice = factory('disconnectDevice', {
46
+ namespace: 'p2p'
47
+ });
48
+ /**
49
+ * @public
50
+ * @since @ray-js/ray 1.3.15
51
+ */
52
+ export const uploadFile = factory('uploadFile', {
53
+ namespace: 'p2p'
54
+ });
55
+ /**
56
+ * @public
57
+ * @since @ray-js/ray 1.3.15
58
+ */
59
+ export const cancelUploadTask = factory('cancelUploadTask', {
60
+ namespace: 'p2p'
61
+ });
62
+ /**
63
+ * @public
64
+ * @since @ray-js/ray 1.3.15
65
+ */
66
+ export const downloadFile = factory('downloadFile', {
67
+ namespace: 'p2p'
68
+ });
69
+ /**
70
+ * @public
71
+ * @since @ray-js/ray 1.3.15
72
+ */
73
+ export const cancelDownloadTask = factory('cancelDownloadTask', {
74
+ namespace: 'p2p'
75
+ });
76
+ /**
77
+ * @public
78
+ * @since @ray-js/ray 1.3.15
79
+ */
80
+ export const downloadStream = factory('downloadStream', {
81
+ namespace: 'p2p'
82
+ });
83
+ /**
84
+ * @public
85
+ * @since @ray-js/ray 1.3.15
86
+ */
87
+ export const queryAlbumFileIndexs = factory('queryAlbumFileIndexs', {
88
+ namespace: 'p2p'
89
+ });
90
+ /**
91
+ * @public
92
+ * @since @ray-js/ray 1.3.15
93
+ */
94
+ export const onSessionStatusChange = factory('onSessionStatusChange', {
95
+ namespace: 'p2p'
96
+ });
97
+ /**
98
+ * @public
99
+ * @since @ray-js/ray 1.3.15
100
+ */
101
+ export const offSessionStatusChange = factory('offSessionStatusChange', {
102
+ namespace: 'p2p'
103
+ });
104
+ /**
105
+ * @public
106
+ * @since @ray-js/ray 1.3.15
107
+ */
108
+ export const onUploadProgressUpdate = factory('onUploadProgressUpdate', {
109
+ namespace: 'p2p'
110
+ });
111
+ /**
112
+ * @public
113
+ * @since @ray-js/ray 1.3.15
114
+ */
115
+ export const offUploadProgressUpdate = factory('offUploadProgressUpdate', {
116
+ namespace: 'p2p'
117
+ });
118
+ /**
119
+ * @public
120
+ * @since @ray-js/ray 1.3.15
121
+ */
122
+ export const onDownloadProgressUpdate = factory('onDownloadProgressUpdate', {
123
+ namespace: 'p2p'
124
+ });
125
+ /**
126
+ * @public
127
+ * @since @ray-js/ray 1.3.15
128
+ */
129
+ export const offDownloadProgressUpdate = factory('offDownloadProgressUpdate', {
130
+ namespace: 'p2p'
131
+ });
132
+ /**
133
+ * @public
134
+ * @since @ray-js/ray 1.3.15
135
+ */
136
+ export const onDownloadTotalProgressUpdate = factory('onDownloadTotalProgressUpdate', {
137
+ namespace: 'p2p'
138
+ });
139
+ /**
140
+ * @public
141
+ * @since @ray-js/ray 1.3.15
142
+ */
143
+ export const offDownloadTotalProgressUpdate = factory('offDownloadTotalProgressUpdate', {
144
+ namespace: 'p2p'
145
+ });
146
+ /**
147
+ * @public
148
+ * @since @ray-js/ray 1.3.15
149
+ */
150
+ export const onFileDownloadComplete = factory('onFileDownloadComplete', {
151
+ namespace: 'p2p'
152
+ });
153
+ /**
154
+ * @public
155
+ * @since @ray-js/ray 1.3.15
156
+ */
157
+ export const offFileDownloadComplete = factory('offFileDownloadComplete', {
158
+ namespace: 'p2p'
159
+ });
160
+ /**
161
+ * @public
162
+ * @since @ray-js/ray 1.3.15
163
+ */
164
+ export const onStreamPacketReceive = factory('onStreamPacketReceive', {
165
+ namespace: 'p2p'
166
+ });
167
+ /**
168
+ * @public
169
+ * @since @ray-js/ray 1.3.15
170
+ */
171
+ export const offStreamPacketReceive = factory('offStreamPacketReceive', {
172
+ namespace: 'p2p'
173
+ });
174
+ /**
175
+ * @public
176
+ * @since @ray-js/ray 1.4.62
177
+ */
178
+ export const appendDownloadStream = factory('appendDownloadStream', {
179
+ namespace: 'p2p'
180
+ });