A JavaScript abstraction for getting information about the network
connection with the PPS object.
Methods
-
getActiveConnectionInfo() → {Object}
-
Get information about the active connection to the PPS object.Returns:
Information about the active connection.- Type
- Object
-
getNetworkInfo(callback)
-
Get information about the network connection.Parameters:
Name Type Description callback
Object The callback that's triggered. A map is passed to the callback as the first parameter. The map contains the network name with the IPv4 (ipv4Address), IPv6 (ipv6Address), type (type), and status (connected) of each connection (i.e., { networkName : {....}, network2name: {....}, ... }
).