UNPKG

348 BTypeScriptView Raw
1export declare enum connectionType {
2 none = 0,
3 wifi = 1,
4 mobile = 2,
5 ethernet = 3,
6 bluetooth = 4,
7 vpn = 5
8}
9export declare function getConnectionType(): number;
10export declare function startMonitoring(connectionTypeChangedCallback: (newConnectionType: number) => void): void;
11export declare function stopMonitoring(): void;