onConnectivityChanged abstract method

void onConnectivityChanged(
  1. ConnectivityResult result
)

A listener method to respond if the device's connectivity changes.

Implementation

void onConnectivityChanged(ConnectivityResult result);