mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Actually exporting an interface instead of a class
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @name ConnectionInfo
|
* @name ConnectionInfo
|
||||||
*/
|
*/
|
||||||
export class ConnectionInfo {
|
export interface ConnectionInfo {
|
||||||
/**
|
/**
|
||||||
* @property {string} SSID
|
* @property {string} SSID
|
||||||
* The service set identifier (SSID) of the current 802.11 network.
|
* The service set identifier (SSID) of the current 802.11 network.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @name HotspotDevice
|
* @name HotspotDevice
|
||||||
*/
|
*/
|
||||||
export class HotspotDevice {
|
export interface HotspotDevice {
|
||||||
/**
|
/**
|
||||||
* @property {string} ip
|
* @property {string} ip
|
||||||
* Hotspot IP Address
|
* Hotspot IP Address
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @name ConnectionInfo
|
* @name ConnectionInfo
|
||||||
*/
|
*/
|
||||||
export class NetworkConfig {
|
export interface NetworkConfig {
|
||||||
/**
|
/**
|
||||||
* @property {string} deviceIPAddress - Device IP Address
|
* @property {string} deviceIPAddress - Device IP Address
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* @description
|
* @description
|
||||||
* Based on [ScanResult](http://developer.android.com/reference/android/net/wifi/ScanResult.html)
|
* Based on [ScanResult](http://developer.android.com/reference/android/net/wifi/ScanResult.html)
|
||||||
*/
|
*/
|
||||||
export class Network {
|
export interface Network {
|
||||||
/**
|
/**
|
||||||
* @property {string} SSID
|
* @property {string} SSID
|
||||||
* Human readable network name
|
* Human readable network name
|
||||||
|
|||||||
Reference in New Issue
Block a user