@ray-js/api 1.6.31 → 2.0.0-alpha.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/@types/all-kits.d.ts +0 -2
- package/@types/api-cloud.d.ts +111 -128
- package/lib/P2PKit-2.0.3.js +1 -1
- package/lib/PlayNetKit-1.1.3.d.ts +26 -0
- package/lib/PlayNetKit-1.1.3.js +78 -0
- package/lib/all-kits.d.ts +1 -2
- package/lib/all-kits.js +2 -3
- package/lib/cloud/device.d.ts +1 -12
- package/lib/cloud/device.js +1 -32
- package/lib/cloud/laser-clean/index.d.ts +1 -1
- package/lib/cloud/laser-clean/index.js +1 -1
- package/lib/cloud/laser-clean/map.d.ts +1 -2
- package/lib/cloud/laser-clean/map.js +1 -2
- package/package.json +5 -5
- package/@types/IPCKit.d.ts +0 -1550
- package/@types/PlayNetKit.d.ts +0 -1731
- package/LICENSE.md +0 -9
- package/lib/IPCKit-6.2.3.d.ts +0 -74
- package/lib/IPCKit-6.2.3.js +0 -224
- package/lib/PlayNetKit-1.3.30.d.ts +0 -60
- package/lib/PlayNetKit-1.3.30.js +0 -180
package/LICENSE.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Copyright © 2014-2022 Tuya.inc
|
|
2
|
-
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/lib/IPCKit-6.2.3.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export declare const ipc: {
|
|
2
|
-
acceptDoorbellCall: typeof ty.ipc.acceptDoorbellCall;
|
|
3
|
-
cancelDownloadCloudPlayBack: typeof ty.ipc.cancelDownloadCloudPlayBack;
|
|
4
|
-
cancelDownloadMessageVideo: typeof ty.ipc.cancelDownloadMessageVideo;
|
|
5
|
-
cancelIdentifyingBirds: typeof ty.ipc.cancelIdentifyingBirds;
|
|
6
|
-
connect: typeof ty.ipc.connect;
|
|
7
|
-
couldChangeTalkbackMode: typeof ty.ipc.couldChangeTalkbackMode;
|
|
8
|
-
createMediaDevice: typeof ty.ipc.createMediaDevice;
|
|
9
|
-
deleteImages: typeof ty.ipc.deleteImages;
|
|
10
|
-
disConnect: typeof ty.ipc.disConnect;
|
|
11
|
-
disableDebugLog: typeof ty.ipc.disableDebugLog;
|
|
12
|
-
doorbellCallConfig: typeof ty.ipc.doorbellCallConfig;
|
|
13
|
-
downloadCloudPlayBack: typeof ty.ipc.downloadCloudPlayBack;
|
|
14
|
-
downloadEncryptionImage: typeof ty.ipc.downloadEncryptionImage;
|
|
15
|
-
downloadResourceToPhoneAlbum: typeof ty.ipc.downloadResourceToPhoneAlbum;
|
|
16
|
-
enableAudioAEC: typeof ty.ipc.enableAudioAEC;
|
|
17
|
-
enableAudioAGC: typeof ty.ipc.enableAudioAGC;
|
|
18
|
-
enableAudioNS: typeof ty.ipc.enableAudioNS;
|
|
19
|
-
enableDebugLog: typeof ty.ipc.enableDebugLog;
|
|
20
|
-
enableVoiceEffect: typeof ty.ipc.enableVoiceEffect;
|
|
21
|
-
generateSignedUrl: typeof ty.ipc.generateSignedUrl;
|
|
22
|
-
getCurrentSupportedTalkMode: typeof ty.ipc.getCurrentSupportedTalkMode;
|
|
23
|
-
getLastAudioEffect: typeof ty.ipc.getLastAudioEffect;
|
|
24
|
-
getVideoBitrateKbps: typeof ty.ipc.getVideoBitrateKbps;
|
|
25
|
-
gotoCameraSettingsRouter: typeof ty.ipc.gotoCameraSettingsRouter;
|
|
26
|
-
hangupDoorbellCall: typeof ty.ipc.hangupDoorbellCall;
|
|
27
|
-
ipcTTTOperatorLog: typeof ty.ipc.ipcTTTOperatorLog;
|
|
28
|
-
isConnected: typeof ty.ipc.isConnected;
|
|
29
|
-
isConnecting: typeof ty.ipc.isConnecting;
|
|
30
|
-
isDeviceSupportUploadLog: typeof ty.ipc.isDeviceSupportUploadLog;
|
|
31
|
-
isDisConnect: typeof ty.ipc.isDisConnect;
|
|
32
|
-
isSupportAICloud: typeof ty.ipc.isSupportAICloud;
|
|
33
|
-
isSupportBirdFeeder: typeof ty.ipc.isSupportBirdFeeder;
|
|
34
|
-
isSupportFloatWindow: typeof ty.ipc.isSupportFloatWindow;
|
|
35
|
-
isSupportFullScreen: typeof ty.ipc.isSupportFullScreen;
|
|
36
|
-
isSupportedCustomDefaultAudioConfig: typeof ty.ipc.isSupportedCustomDefaultAudioConfig;
|
|
37
|
-
isSupportedTalk: typeof ty.ipc.isSupportedTalk;
|
|
38
|
-
obtainCameraConfig: typeof ty.ipc.obtainCameraConfig;
|
|
39
|
-
offCloudPlayBackDownloadProgress: typeof ty.ipc.offCloudPlayBackDownloadProgress;
|
|
40
|
-
offDebugLogHit: typeof ty.ipc.offDebugLogHit;
|
|
41
|
-
offDoorBellCallCancel: typeof ty.ipc.offDoorBellCallCancel;
|
|
42
|
-
offDoorBellCallHangUp: typeof ty.ipc.offDoorBellCallHangUp;
|
|
43
|
-
offDoorBellCallHangUpByOther: typeof ty.ipc.offDoorBellCallHangUpByOther;
|
|
44
|
-
offDownloadMessageVideoFinished: typeof ty.ipc.offDownloadMessageVideoFinished;
|
|
45
|
-
offDownloadMessageVideoProgress: typeof ty.ipc.offDownloadMessageVideoProgress;
|
|
46
|
-
offIdentifyingBirdViewActionTrigger: typeof ty.ipc.offIdentifyingBirdViewActionTrigger;
|
|
47
|
-
offPlayMessageAudioInfo: typeof ty.ipc.offPlayMessageAudioInfo;
|
|
48
|
-
offPlayMessageVideoFinish: typeof ty.ipc.offPlayMessageVideoFinish;
|
|
49
|
-
offPlayMessageVideoInfo: typeof ty.ipc.offPlayMessageVideoInfo;
|
|
50
|
-
onCloudPlayBackDownloadProgress: typeof ty.ipc.onCloudPlayBackDownloadProgress;
|
|
51
|
-
onDebugLogHit: typeof ty.ipc.onDebugLogHit;
|
|
52
|
-
onDoorBellCallCancel: typeof ty.ipc.onDoorBellCallCancel;
|
|
53
|
-
onDoorBellCallHangUp: typeof ty.ipc.onDoorBellCallHangUp;
|
|
54
|
-
onDoorBellCallHangUpByOther: typeof ty.ipc.onDoorBellCallHangUpByOther;
|
|
55
|
-
onDownloadMessageVideoFinished: typeof ty.ipc.onDownloadMessageVideoFinished;
|
|
56
|
-
onDownloadMessageVideoProgress: typeof ty.ipc.onDownloadMessageVideoProgress;
|
|
57
|
-
onIdentifyingBirdViewActionTrigger: typeof ty.ipc.onIdentifyingBirdViewActionTrigger;
|
|
58
|
-
onPlayMessageAudioInfo: typeof ty.ipc.onPlayMessageAudioInfo;
|
|
59
|
-
onPlayMessageVideoFinish: typeof ty.ipc.onPlayMessageVideoFinish;
|
|
60
|
-
onPlayMessageVideoInfo: typeof ty.ipc.onPlayMessageVideoInfo;
|
|
61
|
-
openFloatWindow: typeof ty.ipc.openFloatWindow;
|
|
62
|
-
publishDps: typeof ty.ipc.publishDps;
|
|
63
|
-
refuseDoorbellCall: typeof ty.ipc.refuseDoorbellCall;
|
|
64
|
-
removeSnapshootFromSandbox: typeof ty.ipc.removeSnapshootFromSandbox;
|
|
65
|
-
shareResourceBySystem: typeof ty.ipc.shareResourceBySystem;
|
|
66
|
-
showIdentifyingBirdView: typeof ty.ipc.showIdentifyingBirdView;
|
|
67
|
-
snapshootToSandbox: typeof ty.ipc.snapshootToSandbox;
|
|
68
|
-
startDownloadMessageVideo: typeof ty.ipc.startDownloadMessageVideo;
|
|
69
|
-
startIdentifyingBirds: typeof ty.ipc.startIdentifyingBirds;
|
|
70
|
-
uploadAIFeatureImage: typeof ty.ipc.uploadAIFeatureImage;
|
|
71
|
-
uploadAppLog: typeof ty.ipc.uploadAppLog;
|
|
72
|
-
uploadDeviceLog: typeof ty.ipc.uploadDeviceLog;
|
|
73
|
-
wakeUpDoorBell: typeof ty.ipc.wakeUpDoorBell;
|
|
74
|
-
};
|
package/lib/IPCKit-6.2.3.js
DELETED
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
/// <reference path="../@types/IPCKit.d.ts" />
|
|
2
|
-
|
|
3
|
-
import { createFactory } from './utils';
|
|
4
|
-
const factory = createFactory('IPCKit');
|
|
5
|
-
|
|
6
|
-
// ray 1.6.31
|
|
7
|
-
export const ipc = {
|
|
8
|
-
acceptDoorbellCall: factory('acceptDoorbellCall', {
|
|
9
|
-
"namespace": "ipc"
|
|
10
|
-
}),
|
|
11
|
-
cancelDownloadCloudPlayBack: factory('cancelDownloadCloudPlayBack', {
|
|
12
|
-
"namespace": "ipc"
|
|
13
|
-
}),
|
|
14
|
-
cancelDownloadMessageVideo: factory('cancelDownloadMessageVideo', {
|
|
15
|
-
"namespace": "ipc"
|
|
16
|
-
}),
|
|
17
|
-
cancelIdentifyingBirds: factory('cancelIdentifyingBirds', {
|
|
18
|
-
"namespace": "ipc"
|
|
19
|
-
}),
|
|
20
|
-
connect: factory('connect', {
|
|
21
|
-
"namespace": "ipc"
|
|
22
|
-
}),
|
|
23
|
-
couldChangeTalkbackMode: factory('couldChangeTalkbackMode', {
|
|
24
|
-
"namespace": "ipc"
|
|
25
|
-
}),
|
|
26
|
-
createMediaDevice: factory('createMediaDevice', {
|
|
27
|
-
"namespace": "ipc"
|
|
28
|
-
}),
|
|
29
|
-
deleteImages: factory('deleteImages', {
|
|
30
|
-
"namespace": "ipc"
|
|
31
|
-
}),
|
|
32
|
-
disConnect: factory('disconnect', {
|
|
33
|
-
"namespace": "ipc"
|
|
34
|
-
}),
|
|
35
|
-
disableDebugLog: factory('disableDebugLog', {
|
|
36
|
-
"namespace": "ipc"
|
|
37
|
-
}),
|
|
38
|
-
doorbellCallConfig: factory('doorbellCallConfig', {
|
|
39
|
-
"namespace": "ipc"
|
|
40
|
-
}),
|
|
41
|
-
downloadCloudPlayBack: factory('downloadCloudPlayBack', {
|
|
42
|
-
"namespace": "ipc"
|
|
43
|
-
}),
|
|
44
|
-
downloadEncryptionImage: factory('downloadEncryptionImage', {
|
|
45
|
-
"namespace": "ipc"
|
|
46
|
-
}),
|
|
47
|
-
downloadResourceToPhoneAlbum: factory('downloadResourceToPhoneAlbum', {
|
|
48
|
-
"namespace": "ipc"
|
|
49
|
-
}),
|
|
50
|
-
enableAudioAEC: factory('enableAudioAEC', {
|
|
51
|
-
"namespace": "ipc"
|
|
52
|
-
}),
|
|
53
|
-
enableAudioAGC: factory('enableAudioAGC', {
|
|
54
|
-
"namespace": "ipc"
|
|
55
|
-
}),
|
|
56
|
-
enableAudioNS: factory('enableAudioNS', {
|
|
57
|
-
"namespace": "ipc"
|
|
58
|
-
}),
|
|
59
|
-
enableDebugLog: factory('enableDebugLog', {
|
|
60
|
-
"namespace": "ipc"
|
|
61
|
-
}),
|
|
62
|
-
enableVoiceEffect: factory('enableVoiceEffect', {
|
|
63
|
-
"namespace": "ipc"
|
|
64
|
-
}),
|
|
65
|
-
generateSignedUrl: factory('generateSignedUrl', {
|
|
66
|
-
"namespace": "ipc"
|
|
67
|
-
}),
|
|
68
|
-
getCurrentSupportedTalkMode: factory('getCurrentSupportedTalkMode', {
|
|
69
|
-
"namespace": "ipc"
|
|
70
|
-
}),
|
|
71
|
-
getLastAudioEffect: factory('getLastAudioEffect', {
|
|
72
|
-
"namespace": "ipc"
|
|
73
|
-
}),
|
|
74
|
-
getVideoBitrateKbps: factory('getVideoBitrateKbps', {
|
|
75
|
-
"namespace": "ipc"
|
|
76
|
-
}),
|
|
77
|
-
gotoCameraSettingsRouter: factory('gotoCameraSettingsRouter', {
|
|
78
|
-
"namespace": "ipc"
|
|
79
|
-
}),
|
|
80
|
-
hangupDoorbellCall: factory('hangupDoorbellCall', {
|
|
81
|
-
"namespace": "ipc"
|
|
82
|
-
}),
|
|
83
|
-
ipcTTTOperatorLog: factory('ipcTTTOperatorLog', {
|
|
84
|
-
"namespace": "ipc"
|
|
85
|
-
}),
|
|
86
|
-
isConnected: factory('isConnected', {
|
|
87
|
-
"namespace": "ipc"
|
|
88
|
-
}),
|
|
89
|
-
isConnecting: factory('isConnecting', {
|
|
90
|
-
"namespace": "ipc"
|
|
91
|
-
}),
|
|
92
|
-
isDeviceSupportUploadLog: factory('isDeviceSupportUploadLog', {
|
|
93
|
-
"namespace": "ipc"
|
|
94
|
-
}),
|
|
95
|
-
isDisConnect: factory('isDisConnect', {
|
|
96
|
-
"namespace": "ipc"
|
|
97
|
-
}),
|
|
98
|
-
isSupportAICloud: factory('isSupportAICloud', {
|
|
99
|
-
"namespace": "ipc"
|
|
100
|
-
}),
|
|
101
|
-
isSupportBirdFeeder: factory('isSupportBirdFeeder', {
|
|
102
|
-
"namespace": "ipc"
|
|
103
|
-
}),
|
|
104
|
-
isSupportFloatWindow: factory('isSupportFloatWindow', {
|
|
105
|
-
"namespace": "ipc"
|
|
106
|
-
}),
|
|
107
|
-
isSupportFullScreen: factory('isSupportFullScreen', {
|
|
108
|
-
"namespace": "ipc"
|
|
109
|
-
}),
|
|
110
|
-
isSupportedCustomDefaultAudioConfig: factory('isSupportedCustomDefaultAudioConfig', {
|
|
111
|
-
"namespace": "ipc"
|
|
112
|
-
}),
|
|
113
|
-
isSupportedTalk: factory('isSupportedTalk', {
|
|
114
|
-
"namespace": "ipc"
|
|
115
|
-
}),
|
|
116
|
-
obtainCameraConfig: factory('obtainCameraConfig', {
|
|
117
|
-
"namespace": "ipc"
|
|
118
|
-
}),
|
|
119
|
-
offCloudPlayBackDownloadProgress: factory('offCloudPlayBackDownloadProgress', {
|
|
120
|
-
"namespace": "ipc"
|
|
121
|
-
}),
|
|
122
|
-
offDebugLogHit: factory('offDebugLogHit', {
|
|
123
|
-
"namespace": "ipc"
|
|
124
|
-
}),
|
|
125
|
-
offDoorBellCallCancel: factory('offDoorBellCallCancel', {
|
|
126
|
-
"namespace": "ipc"
|
|
127
|
-
}),
|
|
128
|
-
offDoorBellCallHangUp: factory('offDoorBellCallHangUp', {
|
|
129
|
-
"namespace": "ipc"
|
|
130
|
-
}),
|
|
131
|
-
offDoorBellCallHangUpByOther: factory('offDoorBellCallHangUpByOther', {
|
|
132
|
-
"namespace": "ipc"
|
|
133
|
-
}),
|
|
134
|
-
offDownloadMessageVideoFinished: factory('offDownloadMessageVideoFinished', {
|
|
135
|
-
"namespace": "ipc"
|
|
136
|
-
}),
|
|
137
|
-
offDownloadMessageVideoProgress: factory('offDownloadMessageVideoProgress', {
|
|
138
|
-
"namespace": "ipc"
|
|
139
|
-
}),
|
|
140
|
-
offIdentifyingBirdViewActionTrigger: factory('offIdentifyingBirdViewActionTrigger', {
|
|
141
|
-
"namespace": "ipc"
|
|
142
|
-
}),
|
|
143
|
-
offPlayMessageAudioInfo: factory('offPlayMessageAudioInfo', {
|
|
144
|
-
"namespace": "ipc"
|
|
145
|
-
}),
|
|
146
|
-
offPlayMessageVideoFinish: factory('offPlayMessageVideoFinish', {
|
|
147
|
-
"namespace": "ipc"
|
|
148
|
-
}),
|
|
149
|
-
offPlayMessageVideoInfo: factory('offPlayMessageVideoInfo', {
|
|
150
|
-
"namespace": "ipc"
|
|
151
|
-
}),
|
|
152
|
-
onCloudPlayBackDownloadProgress: factory('onCloudPlayBackDownloadProgress', {
|
|
153
|
-
"namespace": "ipc"
|
|
154
|
-
}),
|
|
155
|
-
onDebugLogHit: factory('onDebugLogHit', {
|
|
156
|
-
"namespace": "ipc"
|
|
157
|
-
}),
|
|
158
|
-
onDoorBellCallCancel: factory('onDoorBellCallCancel', {
|
|
159
|
-
"namespace": "ipc"
|
|
160
|
-
}),
|
|
161
|
-
onDoorBellCallHangUp: factory('onDoorBellCallHangUp', {
|
|
162
|
-
"namespace": "ipc"
|
|
163
|
-
}),
|
|
164
|
-
onDoorBellCallHangUpByOther: factory('onDoorBellCallHangUpByOther', {
|
|
165
|
-
"namespace": "ipc"
|
|
166
|
-
}),
|
|
167
|
-
onDownloadMessageVideoFinished: factory('onDownloadMessageVideoFinished', {
|
|
168
|
-
"namespace": "ipc"
|
|
169
|
-
}),
|
|
170
|
-
onDownloadMessageVideoProgress: factory('onDownloadMessageVideoProgress', {
|
|
171
|
-
"namespace": "ipc"
|
|
172
|
-
}),
|
|
173
|
-
onIdentifyingBirdViewActionTrigger: factory('onIdentifyingBirdViewActionTrigger', {
|
|
174
|
-
"namespace": "ipc"
|
|
175
|
-
}),
|
|
176
|
-
onPlayMessageAudioInfo: factory('onPlayMessageAudioInfo', {
|
|
177
|
-
"namespace": "ipc"
|
|
178
|
-
}),
|
|
179
|
-
onPlayMessageVideoFinish: factory('onPlayMessageVideoFinish', {
|
|
180
|
-
"namespace": "ipc"
|
|
181
|
-
}),
|
|
182
|
-
onPlayMessageVideoInfo: factory('onPlayMessageVideoInfo', {
|
|
183
|
-
"namespace": "ipc"
|
|
184
|
-
}),
|
|
185
|
-
openFloatWindow: factory('openFloatWindow', {
|
|
186
|
-
"namespace": "ipc"
|
|
187
|
-
}),
|
|
188
|
-
publishDps: factory('publishDps', {
|
|
189
|
-
"namespace": "ipc"
|
|
190
|
-
}),
|
|
191
|
-
refuseDoorbellCall: factory('refuseDoorbellCall', {
|
|
192
|
-
"namespace": "ipc"
|
|
193
|
-
}),
|
|
194
|
-
removeSnapshootFromSandbox: factory('removeSnapshootFromSandbox', {
|
|
195
|
-
"namespace": "ipc"
|
|
196
|
-
}),
|
|
197
|
-
shareResourceBySystem: factory('shareResourceBySystem', {
|
|
198
|
-
"namespace": "ipc"
|
|
199
|
-
}),
|
|
200
|
-
showIdentifyingBirdView: factory('showIdentifyingBirdView', {
|
|
201
|
-
"namespace": "ipc"
|
|
202
|
-
}),
|
|
203
|
-
snapshootToSandbox: factory('snapshootToSandbox', {
|
|
204
|
-
"namespace": "ipc"
|
|
205
|
-
}),
|
|
206
|
-
startDownloadMessageVideo: factory('startDownloadMessageVideo', {
|
|
207
|
-
"namespace": "ipc"
|
|
208
|
-
}),
|
|
209
|
-
startIdentifyingBirds: factory('startIdentifyingBirds', {
|
|
210
|
-
"namespace": "ipc"
|
|
211
|
-
}),
|
|
212
|
-
uploadAIFeatureImage: factory('uploadAIFeatureImage', {
|
|
213
|
-
"namespace": "ipc"
|
|
214
|
-
}),
|
|
215
|
-
uploadAppLog: factory('uploadAppLog', {
|
|
216
|
-
"namespace": "ipc"
|
|
217
|
-
}),
|
|
218
|
-
uploadDeviceLog: factory('uploadDeviceLog', {
|
|
219
|
-
"namespace": "ipc"
|
|
220
|
-
}),
|
|
221
|
-
wakeUpDoorBell: factory('wakeUpDoorBell', {
|
|
222
|
-
"namespace": "ipc"
|
|
223
|
-
})
|
|
224
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export declare const playnet: {
|
|
2
|
-
analysisMatterQRCode: typeof ty.playnet.analysisMatterQRCode;
|
|
3
|
-
autoConnectToAp: typeof ty.playnet.autoConnectToAp;
|
|
4
|
-
autoConnectToApWithSSIDPrefix: typeof ty.playnet.autoConnectToApWithSSIDPrefix;
|
|
5
|
-
checkBleWifiDeviceReset: typeof ty.playnet.checkBleWifiDeviceReset;
|
|
6
|
-
connectMatterDevice: typeof ty.playnet.connectMatterDevice;
|
|
7
|
-
connectWifi: typeof ty.playnet.connectWifi;
|
|
8
|
-
continueMatterCommission: typeof ty.playnet.continueMatterCommission;
|
|
9
|
-
getCurrentWifiSSID: typeof ty.playnet.getCurrentWifiSSID;
|
|
10
|
-
getDeviceSecurityConfigs: typeof ty.playnet.getDeviceSecurityConfigs;
|
|
11
|
-
getPairConfigToken: typeof ty.playnet.getPairConfigToken;
|
|
12
|
-
hasBlePermission: typeof ty.playnet.hasBlePermission;
|
|
13
|
-
hasLocalNetworkPermission: typeof ty.playnet.hasLocalNetworkPermission;
|
|
14
|
-
hasPermission: typeof ty.playnet.hasPermission;
|
|
15
|
-
isExistInCurrentAccount: typeof ty.playnet.isExistInCurrentAccount;
|
|
16
|
-
isSystemPopupInAutoConnectAp: typeof ty.playnet.isSystemPopupInAutoConnectAp;
|
|
17
|
-
offActivateIntermediateState: typeof ty.playnet.offActivateIntermediateState;
|
|
18
|
-
offBLEScanDevice: typeof ty.playnet.offBLEScanDevice;
|
|
19
|
-
offBLEScanDeviceWithUUID: typeof ty.playnet.offBLEScanDeviceWithUUID;
|
|
20
|
-
offBLEStateChange: typeof ty.playnet.offBLEStateChange;
|
|
21
|
-
offBlePermissionChange: typeof ty.playnet.offBlePermissionChange;
|
|
22
|
-
offDeviceActivateResult: typeof ty.playnet.offDeviceActivateResult;
|
|
23
|
-
offReceiveActivatorState: typeof ty.playnet.offReceiveActivatorState;
|
|
24
|
-
offScanDeviceInfo: typeof ty.playnet.offScanDeviceInfo;
|
|
25
|
-
offWifiStateChange: typeof ty.playnet.offWifiStateChange;
|
|
26
|
-
offlocalNetWorkPermissionChange: typeof ty.playnet.offlocalNetWorkPermissionChange;
|
|
27
|
-
onActivateIntermediateState: typeof ty.playnet.onActivateIntermediateState;
|
|
28
|
-
onBLEScanDevice: typeof ty.playnet.onBLEScanDevice;
|
|
29
|
-
onBLEScanDeviceWithUUID: typeof ty.playnet.onBLEScanDeviceWithUUID;
|
|
30
|
-
onBLEStateChange: typeof ty.playnet.onBLEStateChange;
|
|
31
|
-
onBlePermissionChange: typeof ty.playnet.onBlePermissionChange;
|
|
32
|
-
onDeviceActivateResult: typeof ty.playnet.onDeviceActivateResult;
|
|
33
|
-
onReceiveActivatorState: typeof ty.playnet.onReceiveActivatorState;
|
|
34
|
-
onScanDeviceInfo: typeof ty.playnet.onScanDeviceInfo;
|
|
35
|
-
onWifiStateChange: typeof ty.playnet.onWifiStateChange;
|
|
36
|
-
onlocalNetWorkPermissionChange: typeof ty.playnet.onlocalNetWorkPermissionChange;
|
|
37
|
-
queryDeviceConfigState: typeof ty.playnet.queryDeviceConfigState;
|
|
38
|
-
queryWifiListByNormalChannel: typeof ty.playnet.queryWifiListByNormalChannel;
|
|
39
|
-
releaseP2PWifi: typeof ty.playnet.releaseP2PWifi;
|
|
40
|
-
removeApConfigration: typeof ty.playnet.removeApConfigration;
|
|
41
|
-
requestPermission: typeof ty.playnet.requestPermission;
|
|
42
|
-
requestWifiList: typeof ty.playnet.requestWifiList;
|
|
43
|
-
resetDevice: typeof ty.playnet.resetDevice;
|
|
44
|
-
resetDeviceActivatedStatus: typeof ty.playnet.resetDeviceActivatedStatus;
|
|
45
|
-
resumeActive: typeof ty.playnet.resumeActive;
|
|
46
|
-
startActivator: typeof ty.playnet.startActivator;
|
|
47
|
-
startActivatorNormal: typeof ty.playnet.startActivatorNormal;
|
|
48
|
-
startBLEScanDevice: typeof ty.playnet.startBLEScanDevice;
|
|
49
|
-
startBLEScanDeviceWithUUID: typeof ty.playnet.startBLEScanDeviceWithUUID;
|
|
50
|
-
startDeviceActivate: typeof ty.playnet.startDeviceActivate;
|
|
51
|
-
startResetBleWifiDevice: typeof ty.playnet.startResetBleWifiDevice;
|
|
52
|
-
startScanDevice: typeof ty.playnet.startScanDevice;
|
|
53
|
-
startScanWifi: typeof ty.playnet.startScanWifi;
|
|
54
|
-
stopActivator: typeof ty.playnet.stopActivator;
|
|
55
|
-
stopActivatorNormal: typeof ty.playnet.stopActivatorNormal;
|
|
56
|
-
stopBLEScan: typeof ty.playnet.stopBLEScan;
|
|
57
|
-
stopBleScanWithUUID: typeof ty.playnet.stopBleScanWithUUID;
|
|
58
|
-
stopDeviceActivate: typeof ty.playnet.stopDeviceActivate;
|
|
59
|
-
stopScanDevice: typeof ty.playnet.stopScanDevice;
|
|
60
|
-
};
|
package/lib/PlayNetKit-1.3.30.js
DELETED
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
/// <reference path="../@types/PlayNetKit.d.ts" />
|
|
2
|
-
|
|
3
|
-
import { createFactory } from './utils';
|
|
4
|
-
const factory = createFactory('PlayNetKit');
|
|
5
|
-
export const playnet = {
|
|
6
|
-
analysisMatterQRCode: factory('analysisMatterQRCode', {
|
|
7
|
-
"namespace": "playnet"
|
|
8
|
-
}),
|
|
9
|
-
autoConnectToAp: factory('autoConnectToAp', {
|
|
10
|
-
"namespace": "playnet"
|
|
11
|
-
}),
|
|
12
|
-
autoConnectToApWithSSIDPrefix: factory('autoConnectToApWithSSIDPrefix', {
|
|
13
|
-
"namespace": "playnet"
|
|
14
|
-
}),
|
|
15
|
-
checkBleWifiDeviceReset: factory('checkBleWifiDeviceReset', {
|
|
16
|
-
"namespace": "playnet"
|
|
17
|
-
}),
|
|
18
|
-
connectMatterDevice: factory('connectMatterDevice', {
|
|
19
|
-
"namespace": "playnet"
|
|
20
|
-
}),
|
|
21
|
-
connectWifi: factory('connectWifi', {
|
|
22
|
-
"namespace": "playnet"
|
|
23
|
-
}),
|
|
24
|
-
continueMatterCommission: factory('continueMatterCommission', {
|
|
25
|
-
"namespace": "playnet"
|
|
26
|
-
}),
|
|
27
|
-
getCurrentWifiSSID: factory('getCurrentWifiSSID', {
|
|
28
|
-
"namespace": "playnet"
|
|
29
|
-
}),
|
|
30
|
-
getDeviceSecurityConfigs: factory('getDeviceSecurityConfigs', {
|
|
31
|
-
"namespace": "playnet"
|
|
32
|
-
}),
|
|
33
|
-
getPairConfigToken: factory('getPairConfigToken', {
|
|
34
|
-
"namespace": "playnet"
|
|
35
|
-
}),
|
|
36
|
-
hasBlePermission: factory('hasBlePermission', {
|
|
37
|
-
"namespace": "playnet"
|
|
38
|
-
}),
|
|
39
|
-
hasLocalNetworkPermission: factory('hasLocalNetworkPermission', {
|
|
40
|
-
"namespace": "playnet"
|
|
41
|
-
}),
|
|
42
|
-
hasPermission: factory('hasPermission', {
|
|
43
|
-
"namespace": "playnet"
|
|
44
|
-
}),
|
|
45
|
-
isExistInCurrentAccount: factory('isExistInCurrentAccount', {
|
|
46
|
-
"namespace": "playnet"
|
|
47
|
-
}),
|
|
48
|
-
isSystemPopupInAutoConnectAp: factory('isSystemPopupInAutoConnectAp', {
|
|
49
|
-
"namespace": "playnet"
|
|
50
|
-
}),
|
|
51
|
-
offActivateIntermediateState: factory('offActivateIntermediateState', {
|
|
52
|
-
"namespace": "playnet"
|
|
53
|
-
}),
|
|
54
|
-
offBLEScanDevice: factory('offBLEScanDevice', {
|
|
55
|
-
"namespace": "playnet"
|
|
56
|
-
}),
|
|
57
|
-
offBLEScanDeviceWithUUID: factory('offBLEScanDeviceWithUUID', {
|
|
58
|
-
"namespace": "playnet"
|
|
59
|
-
}),
|
|
60
|
-
offBLEStateChange: factory('offBLEStateChange', {
|
|
61
|
-
"namespace": "playnet"
|
|
62
|
-
}),
|
|
63
|
-
offBlePermissionChange: factory('offBlePermissionChange', {
|
|
64
|
-
"namespace": "playnet"
|
|
65
|
-
}),
|
|
66
|
-
offDeviceActivateResult: factory('offDeviceActivateResult', {
|
|
67
|
-
"namespace": "playnet"
|
|
68
|
-
}),
|
|
69
|
-
offReceiveActivatorState: factory('offReceiveActivatorState', {
|
|
70
|
-
"namespace": "playnet"
|
|
71
|
-
}),
|
|
72
|
-
offScanDeviceInfo: factory('offScanDeviceInfo', {
|
|
73
|
-
"namespace": "playnet"
|
|
74
|
-
}),
|
|
75
|
-
offWifiStateChange: factory('offWifiStateChange', {
|
|
76
|
-
"namespace": "playnet"
|
|
77
|
-
}),
|
|
78
|
-
offlocalNetWorkPermissionChange: factory('offlocalNetWorkPermissionChange', {
|
|
79
|
-
"namespace": "playnet"
|
|
80
|
-
}),
|
|
81
|
-
onActivateIntermediateState: factory('onActivateIntermediateState', {
|
|
82
|
-
"namespace": "playnet"
|
|
83
|
-
}),
|
|
84
|
-
onBLEScanDevice: factory('onBLEScanDevice', {
|
|
85
|
-
"namespace": "playnet"
|
|
86
|
-
}),
|
|
87
|
-
onBLEScanDeviceWithUUID: factory('onBLEScanDeviceWithUUID', {
|
|
88
|
-
"namespace": "playnet"
|
|
89
|
-
}),
|
|
90
|
-
onBLEStateChange: factory('onBLEStateChange', {
|
|
91
|
-
"namespace": "playnet"
|
|
92
|
-
}),
|
|
93
|
-
onBlePermissionChange: factory('onBlePermissionChange', {
|
|
94
|
-
"namespace": "playnet"
|
|
95
|
-
}),
|
|
96
|
-
onDeviceActivateResult: factory('onDeviceActivateResult', {
|
|
97
|
-
"namespace": "playnet"
|
|
98
|
-
}),
|
|
99
|
-
onReceiveActivatorState: factory('onReceiveActivatorState', {
|
|
100
|
-
"namespace": "playnet"
|
|
101
|
-
}),
|
|
102
|
-
onScanDeviceInfo: factory('onScanDeviceInfo', {
|
|
103
|
-
"namespace": "playnet"
|
|
104
|
-
}),
|
|
105
|
-
onWifiStateChange: factory('onWifiStateChange', {
|
|
106
|
-
"namespace": "playnet"
|
|
107
|
-
}),
|
|
108
|
-
onlocalNetWorkPermissionChange: factory('onlocalNetWorkPermissionChange', {
|
|
109
|
-
"namespace": "playnet"
|
|
110
|
-
}),
|
|
111
|
-
queryDeviceConfigState: factory('queryDeviceConfigState', {
|
|
112
|
-
"namespace": "playnet"
|
|
113
|
-
}),
|
|
114
|
-
queryWifiListByNormalChannel: factory('queryWifiListByNormalChannel', {
|
|
115
|
-
"namespace": "playnet"
|
|
116
|
-
}),
|
|
117
|
-
releaseP2PWifi: factory('releaseP2PWifi', {
|
|
118
|
-
"namespace": "playnet"
|
|
119
|
-
}),
|
|
120
|
-
removeApConfigration: factory('removeApConfigration', {
|
|
121
|
-
"namespace": "playnet"
|
|
122
|
-
}),
|
|
123
|
-
requestPermission: factory('requestPermission', {
|
|
124
|
-
"namespace": "playnet"
|
|
125
|
-
}),
|
|
126
|
-
requestWifiList: factory('requestWifiList', {
|
|
127
|
-
"namespace": "playnet"
|
|
128
|
-
}),
|
|
129
|
-
resetDevice: factory('resetDevice', {
|
|
130
|
-
"namespace": "playnet"
|
|
131
|
-
}),
|
|
132
|
-
resetDeviceActivatedStatus: factory('resetDeviceActivatedStatus', {
|
|
133
|
-
"namespace": "playnet"
|
|
134
|
-
}),
|
|
135
|
-
resumeActive: factory('resumeActive', {
|
|
136
|
-
"namespace": "playnet"
|
|
137
|
-
}),
|
|
138
|
-
startActivator: factory('startActivator', {
|
|
139
|
-
"namespace": "playnet"
|
|
140
|
-
}),
|
|
141
|
-
startActivatorNormal: factory('startActivatorNormal', {
|
|
142
|
-
"namespace": "playnet"
|
|
143
|
-
}),
|
|
144
|
-
startBLEScanDevice: factory('startBLEScanDevice', {
|
|
145
|
-
"namespace": "playnet"
|
|
146
|
-
}),
|
|
147
|
-
startBLEScanDeviceWithUUID: factory('startBLEScanDeviceWithUUID', {
|
|
148
|
-
"namespace": "playnet"
|
|
149
|
-
}),
|
|
150
|
-
startDeviceActivate: factory('startDeviceActivate', {
|
|
151
|
-
"namespace": "playnet"
|
|
152
|
-
}),
|
|
153
|
-
startResetBleWifiDevice: factory('startResetBleWifiDevice', {
|
|
154
|
-
"namespace": "playnet"
|
|
155
|
-
}),
|
|
156
|
-
startScanDevice: factory('startScanDevice', {
|
|
157
|
-
"namespace": "playnet"
|
|
158
|
-
}),
|
|
159
|
-
startScanWifi: factory('startScanWifi', {
|
|
160
|
-
"namespace": "playnet"
|
|
161
|
-
}),
|
|
162
|
-
stopActivator: factory('stopActivator', {
|
|
163
|
-
"namespace": "playnet"
|
|
164
|
-
}),
|
|
165
|
-
stopActivatorNormal: factory('stopActivatorNormal', {
|
|
166
|
-
"namespace": "playnet"
|
|
167
|
-
}),
|
|
168
|
-
stopBLEScan: factory('stopBLEScan', {
|
|
169
|
-
"namespace": "playnet"
|
|
170
|
-
}),
|
|
171
|
-
stopBleScanWithUUID: factory('stopBleScanWithUUID', {
|
|
172
|
-
"namespace": "playnet"
|
|
173
|
-
}),
|
|
174
|
-
stopDeviceActivate: factory('stopDeviceActivate', {
|
|
175
|
-
"namespace": "playnet"
|
|
176
|
-
}),
|
|
177
|
-
stopScanDevice: factory('stopScanDevice', {
|
|
178
|
-
"namespace": "playnet"
|
|
179
|
-
})
|
|
180
|
-
};
|