Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ConnectivityChangeEvent

The event-object provided to BackgroundGeolocation.onConnectivityChange

example
BackgroundGeolocation.onConnectivityChange(connectivityChangeEvent => {
  console.log("[connectivitychange] ", connectivityChangeEvent.connected);
});

Hierarchy

  • ConnectivityChangeEvent

Index

Properties

Properties

connected

connected: boolean

true when the device has access to a network connection.

Generated using TypeDoc