armcloud-rtc 1.4.3 → 1.4.4
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/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.global.js +2 -2
- package/dist/index.global.js.map +1 -1
- package/dist/types/lib/customRtc.d.ts +2 -4
- package/dist/types/lib/pkg.d.ts +2 -1
- package/package.json +1 -1
|
@@ -120,6 +120,7 @@ declare class customRtc {
|
|
|
120
120
|
saveScreenShotToLocal(): Promise<ImageData>;
|
|
121
121
|
saveScreenShotToRemote(): void;
|
|
122
122
|
setPhoneRotation(type: number): void;
|
|
123
|
+
getRotateType(): number;
|
|
123
124
|
private initRotateScreen;
|
|
124
125
|
rotateScreen(type: number): Promise<void>;
|
|
125
126
|
setGPS(longitude: number, latitude: number): void;
|
|
@@ -129,10 +130,7 @@ declare class customRtc {
|
|
|
129
130
|
setAutoRecycleTime(second: number): void;
|
|
130
131
|
getAutoRecycleTime(): any;
|
|
131
132
|
sendCommand(command: string): void;
|
|
132
|
-
|
|
133
|
-
goAppHome(): void;
|
|
134
|
-
goAppMenu(): void;
|
|
135
|
-
injectVideoStream(type: "startVideoInjection" | "stopVideoInjection", options?: any): void;
|
|
133
|
+
injectVideoStream(type: "startVideoInjection" | "stopVideoInjection", options?: any, timeout?: number): Promise<unknown>;
|
|
136
134
|
increaseVolume(): void;
|
|
137
135
|
decreaseVolume(): void;
|
|
138
136
|
saveCloudClipboard(flag: boolean): void;
|
package/dist/types/lib/pkg.d.ts
CHANGED
|
@@ -70,7 +70,8 @@ declare class ArmcloudEngine {
|
|
|
70
70
|
saveCloudClipboard(flag: boolean): void;
|
|
71
71
|
startMediaStream(mediaType: 1 | 2 | 3): any;
|
|
72
72
|
stopMediaStream(mediaType: 1 | 2 | 3): any;
|
|
73
|
-
injectVideoStream(type: "startVideoInjection" | "stopVideoInjection", options?: any):
|
|
73
|
+
injectVideoStream(type: "startVideoInjection" | "stopVideoInjection", options?: any, timeout?: number): any;
|
|
74
74
|
sendShake(time?: number): void;
|
|
75
|
+
getRotateType(): any;
|
|
75
76
|
}
|
|
76
77
|
export default ArmcloudEngine;
|