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: string, password: string): Promise {return; } @Cordova() static connectToWifiAuthEncrypt(ssid: string, password: string, authentication, encryption): Promise {return; } @Cordova() static addWifiNetwork(ssid: string, mode, password): Promise {return; } @Cordova() static removeWifiNetwork(ssid: string): 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: number, duration: number): Promise {return; } @Cordova() static stopPeriodicallyScan(): Promise {return; } @Cordova() static getNetConfig(): Promise {return; } @Cordova() static getConnectionInfo(): Promise {return; } @Cordova() static pingHost(ip: string): Promise {return; } @Cordova() static getMacAddressOfHost(ip: string): Promise {return; } @Cordova() static isDnsLive(ip: string): Promise {return; } @Cordova() static isPortLife(ip: string): Promise {return; } @Cordova() static isRooted(): Promise {return; } }