From 116dc1a1b36221898dcd12c1ec7e7521d0ebca37 Mon Sep 17 00:00:00 2001 From: Louis Orleans Date: Thu, 5 May 2016 19:01:07 -0700 Subject: [PATCH] Fixing typos --- src/plugins/hotspot.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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