Network

This interface provides information about network connectivity.

Methods

// Returns a promise that specifies whether the device currently 
// has network connectivity
isConnected(): SyncTasks.Promise<boolean>;

Events

// Triggered when the connectivity changes
connectivityChangedEvent: SubscribableEvent<(isConnected: boolean) => void>;