assistsx-js 0.0.2022 → 0.0.2024
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/AssistsX.d.ts +1 -0
- package/dist/AssistsX.js +4 -0
- package/dist/CallMethod.d.ts +1 -0
- package/dist/CallMethod.js +1 -0
- package/package.json +1 -1
- package/src/AssistsX.ts +4 -0
- package/src/CallMethod.ts +1 -0
package/dist/AssistsX.d.ts
CHANGED
|
@@ -384,6 +384,7 @@ export declare class AssistsX {
|
|
|
384
384
|
static getAndroidID(): any;
|
|
385
385
|
static getMacAddress(): Promise<any>;
|
|
386
386
|
static getDeviceInfo(): Promise<any>;
|
|
387
|
+
static getNetworkType(): Promise<any>;
|
|
387
388
|
static setAccessibilityEventFilters(value: AccessibilityEventFilter[]): Promise<any>;
|
|
388
389
|
static addAccessibilityEventFilter(value: AccessibilityEventFilter): Promise<any>;
|
|
389
390
|
/**
|
package/dist/AssistsX.js
CHANGED
|
@@ -570,6 +570,10 @@ export class AssistsX {
|
|
|
570
570
|
const response = await this.asyncCall(CallMethod.getDeviceInfo);
|
|
571
571
|
return response.getDataOrDefault({});
|
|
572
572
|
}
|
|
573
|
+
static async getNetworkType() {
|
|
574
|
+
const response = await this.asyncCall(CallMethod.getNetworkType);
|
|
575
|
+
return response.getDataOrDefault({});
|
|
576
|
+
}
|
|
573
577
|
static async setAccessibilityEventFilters(value) {
|
|
574
578
|
const response = this.call(CallMethod.setAccessibilityEventFilters, {
|
|
575
579
|
args: { value },
|
package/dist/CallMethod.d.ts
CHANGED
|
@@ -46,5 +46,6 @@ export declare const CallMethod: {
|
|
|
46
46
|
readonly setAccessibilityEventFilters: "setAccessibilityEventFilters";
|
|
47
47
|
readonly httpRequest: "httpRequest";
|
|
48
48
|
readonly getDeviceInfo: "getDeviceInfo";
|
|
49
|
+
readonly getNetworkType: "getNetworkType";
|
|
49
50
|
};
|
|
50
51
|
export type CallMethodType = (typeof CallMethod)[keyof typeof CallMethod];
|
package/dist/CallMethod.js
CHANGED
package/package.json
CHANGED
package/src/AssistsX.ts
CHANGED
|
@@ -824,6 +824,10 @@ export class AssistsX {
|
|
|
824
824
|
const response = await this.asyncCall(CallMethod.getDeviceInfo);
|
|
825
825
|
return response.getDataOrDefault({});
|
|
826
826
|
}
|
|
827
|
+
public static async getNetworkType(): Promise<any> {
|
|
828
|
+
const response = await this.asyncCall(CallMethod.getNetworkType);
|
|
829
|
+
return response.getDataOrDefault({});
|
|
830
|
+
}
|
|
827
831
|
public static async setAccessibilityEventFilters(
|
|
828
832
|
value: AccessibilityEventFilter[]
|
|
829
833
|
): Promise<any> {
|