diff --git a/src/plugins/hotspot.ts b/src/plugins/hotspot.ts index dfdefe312..732a57e9a 100644 --- a/src/plugins/hotspot.ts +++ b/src/plugins/hotspot.ts @@ -97,7 +97,7 @@ export class Hotspot { * Promise that connection to the WiFi network was successfull, rejected if unsuccessful */ @Cordova() - static connectToHotspot(ssid: string, password: string): Promise {return; } + static connectToWifi(ssid: string, password: string): Promise {return; } /** * Connect to a WiFi network @@ -167,10 +167,10 @@ export class Hotspot { static scanWifiByLevel(): Promise> {return; } @Cordova() - static startPeriodicallyScan(interval: number, duration: number): Promise {return; } + static startWifiPeriodicallyScan(interval: number, duration: number): Promise {return; } @Cordova() - static stopPeriodicallyScan(): Promise {return; } + static stopWifiPeriodicallyScan(): Promise {return; } @Cordova() static getNetConfig(): Promise {return; } @@ -209,7 +209,7 @@ export class Hotspot { * @return {Promise} - A Promise for whether the IP Address is reachable */ @Cordova() - static isPortLife(ip: string): Promise {return; } + static isPortLive(ip: string): Promise {return; } /** * Checks if device is rooted