mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
509 B
509 B
nav-title, title, environment, description, previous_url
| nav-title | title | environment | description | previous_url |
|---|---|---|---|---|
| connectivity How-To | connectivity | nativescript | Examples for using connectivity | /ApiReference/connectivity/HOW-TO |
Connectivity
Obtaining connectivity information requires the "connectivity" module. {%snippet connectivity-require%}
Getting connection type
{%snippet connectivity-type%}
Monitoring connection type.
{%snippet connectivity-monitoring%}
Permissions
On Android, the permission ACCESS_NETWORK_STATE is required.