- NativeScript Core
- NativeScript with Angular
- NativeScript with Vue.js
- API Reference
- NativeScript Sidekick
Gets the type of connection. Returns a value from the connectivity.connectionType enumeration. To use this method on Android you need to have the android.permission.ACCESS_NETWORK_STATE permission added to the AndroidManifest.xml file.
Starts monitoring the connection type.
A function that will be called when the connection type changes.
Stops monitoring the connection type.
Contains connectivity utility methods.