mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 11:03:01 +08:00
Adding some JSDoc definitions
This commit is contained in:
parent
b4b131c82a
commit
9682ac8f11
@ -1,3 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* @name ConnectionInfo
|
||||||
|
*/
|
||||||
export class ConnectionInfo {
|
export class ConnectionInfo {
|
||||||
/**
|
/**
|
||||||
* @property {string} SSID
|
* @property {string} SSID
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* @name HotspotDevice
|
||||||
|
*/
|
||||||
export class HotspotDevice {
|
export class HotspotDevice {
|
||||||
/**
|
/**
|
||||||
* @property {string} ip
|
* @property {string} ip
|
||||||
|
@ -10,9 +10,13 @@ import {HotspotDevice} from './hotspot-device.model';
|
|||||||
* @description
|
* @description
|
||||||
* @usage
|
* @usage
|
||||||
* ```js
|
* ```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 {
|
export class NetworkConfig {
|
||||||
/**
|
/**
|
||||||
* @property {string} deviceIPAddress - Device IP Address
|
* @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 {
|
export class Network {
|
||||||
/**
|
/**
|
||||||
* @property {string} SSID
|
* @property {string} SSID
|
||||||
|
Loading…
Reference in New Issue
Block a user