NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in

Enumerations

EnumerationDescription
connectionTypeDefines the different connection types.

Functions

FunctionDescription
getConnectionTypeGets 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.
startMonitoringStarts monitoring the connection type.
stopMonitoringStops monitoring the connection type.
Previous
words