You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
510 B
25 lines
510 B
|
3 months ago
|
import Core, { Plugin } from "../../../core/src";
|
||
|
|
declare global {
|
||
|
|
interface Navigator {
|
||
|
|
connection: any;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
export declare enum NetworkTypeNum {
|
||
|
|
unknown = 100,
|
||
|
|
wifi = 1,
|
||
|
|
net2g = 2,
|
||
|
|
net3g = 3,
|
||
|
|
net4g = 4,
|
||
|
|
net5g = 5,
|
||
|
|
net6g = 6
|
||
|
|
}
|
||
|
|
export declare enum NetworkStatus {
|
||
|
|
unknown = 100,
|
||
|
|
normal = 0,
|
||
|
|
weak = 1,
|
||
|
|
disconnected = 2
|
||
|
|
}
|
||
|
|
declare const _default: Plugin<Core>;
|
||
|
|
export default _default;
|
||
|
|
export declare const getNetworkType: (callback: Function) => void;
|