mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 02:53:03 +08:00
Adding some JSDoc definitions
This commit is contained in:
parent
b4b131c82a
commit
9682ac8f11
@ -1,3 +1,6 @@
|
||||
/**
|
||||
* @name ConnectionInfo
|
||||
*/
|
||||
export class ConnectionInfo {
|
||||
/**
|
||||
* @property {string} SSID
|
||||
|
@ -1,3 +1,6 @@
|
||||
/**
|
||||
* @name HotspotDevice
|
||||
*/
|
||||
export class HotspotDevice {
|
||||
/**
|
||||
* @property {string} ip
|
||||
|
@ -10,9 +10,13 @@ import {HotspotDevice} from './hotspot-device.model';
|
||||
* @description
|
||||
* @usage
|
||||
* ```js
|
||||
* import {Hotspot} from 'ionic-native';
|
||||
*
|
||||
* import {Hotspot, Network} from 'ionic-native';
|
||||
*
|
||||
* ...
|
||||
* Hotspot.scanWifi().then((networks: Array<Network>) => {
|
||||
* console.log(networks);
|
||||
* });
|
||||
* ...
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
|
@ -1,3 +1,6 @@
|
||||
/**
|
||||
* @name ConnectionInfo
|
||||
*/
|
||||
export class NetworkConfig {
|
||||
/**
|
||||
* @property {string} deviceIPAddress - Device IP Address
|
||||
|
@ -1,3 +1,8 @@
|
||||
/**
|
||||
* @name Network
|
||||
* @description
|
||||
* Based on [ScanResult](http://developer.android.com/reference/android/net/wifi/ScanResult.html)
|
||||
*/
|
||||
export class Network {
|
||||
/**
|
||||
* @property {string} SSID
|
||||
|
Loading…
Reference in New Issue
Block a user