Package 

Class ConnectivityBroadcastReceiver

  • All Implemented Interfaces:
    io.flutter.plugin.common.EventChannel.StreamHandler

    
    public class ConnectivityBroadcastReceiver
    extends BroadcastReceiver implements EventChannel.StreamHandler
                        

    The ConnectivityBroadcastReceiver receives the connectivity updates and send them to the UIThread through an EventChannel.EventSink

    Use to set up the receiver.

    • Method Summary

      Modifier and Type Method Description
      void onListen(Object arguments, EventChannel.EventSink events)
      void onCancel(Object arguments)
      void onReceive(Context context, Intent intent)
      • Methods inherited from class android.content.BroadcastReceiver

        abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, getSentFromPackage, getSentFromUid, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, onReceive, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
      • Methods inherited from class io.flutter.plugin.common.EventChannel.StreamHandler

        onCancel, onListen
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait