import {Plugin, Cordova} from './plugin' /** * @name Hotspot * @description * @usage * ```js * import {Hotspot} from 'ionic-native'; * * * * ``` */ @Plugin({ plugin: 'cordova-plugin-hotspot', pluginRef: 'cordova.plugins.hotspot', repo: 'https://github.com/hypery2k/cordova-hotspot-plugin', platforms: ['Android'] }) export class Hotspot { @Cordova() static isAvailable() : Promise {return} @Cordova() static toggleWifi() : Promise {return} @Cordova() static createHotspot(ssid : string, mode : string, password : string) : Promise {return} @Cordova() static startHotspot() : Promise {return} @Cordova() static configureHotspot(ssid : string, mode : string, password : string) : Promise {return} @Cordova() static stopHotspot() : Promise {return} @Cordova() static isHotspotEnabled() : Promise {return} @Cordova() static getAllHotspotDevices() : Promise {return} @Cordova() static connectToHotspot(ssid, password) : Promise {return} @Cordova() static connectToWifiAuthEncrypt(ssid, password, authentication, encryption) : Promise {return} @Cordova() static addWifiNetwork(ssid, mode, password) : Promise {return} @Cordova() static removeWifiNetwork(ssid) : Promise {return} @Cordova() static isConnectedToInternet() : Promise {return} @Cordova() static isConnectedToInternetViaWifi() : Promise {return} @Cordova() static isWifiOn() : Promise {return} @Cordova() static isWifiSupported() : Promise {return} @Cordova() static isWifiDirectSupported() : Promise {return} @Cordova() static scanWifi() : Promise {return} @Cordova() static scanWifiByLevel() : Promise {return} @Cordova() static startPeriodicallyScan(interval, duration) : Promise {return} @Cordova() static stopPeriodicallyScan() : Promise {return} @Cordova() static getNetConfig() : Promise {return} @Cordova() static getConnectionInfo() : Promise {return} @Cordova() static pingHost(ip) : Promise {return} @Cordova() static getMacAddressOfHost(ip) : Promise {return} @Cordova() static isDnsLive(ip) : Promise {return} @Cordova() static isPortLife(ip) : Promise {return} @Cordova() static isRooted() : Promise {return} }