Options
All
  • Public
  • Public/Protected
  • All
Menu

Module CordovaNetworkInfoPlugin

This plugin provides an implementation of an old version of the Network Information API. It provides information about the device's cellular and wifi connection, and whether the device has an internet connection.

Please use 'NetworkStatus' as the plugin name in the manifest.json if you want to use this facility.

Usage:
navigator.connection.Initialize(); navigator.connection.type;

Index

Interfaces

Variables

Variables

Let Connection

Connection: object

Type declaration

  • CELL: string
  • CELL_2G: string
  • CELL_3G: string
  • CELL_4G: string
  • ETHERNET: string
  • NONE: string
  • UNKNOWN: string
  • WIFI: string