Network¶
Overview¶
The Network component can be used to retrieve the internet connection status of the device.
Methods¶
Is Connected¶
[ None ]
Returns True if the device is connected to a network, False otherwise.
Type¶
[ None ]
Returns the type of network the device is connected to. e.g. "wifi" or "mobile".
Events¶
On Connect¶
[ None ]
Triggered when the device connects to a network.
On Disconnect¶
[ None ]
Triggered when the device disconnects from a network.