Class POBNetworkMonitor.POBConnectivityListener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void onNetworkConnectionChanged(boolean isConnected) Notifies whenever there is an update in network state, also provides internet connectivity
      void onNetworkRegistrationFailed() Notifies whenever network registration failed
      void onNetworkPropertiesChanged() Notifies when there are changes in 1.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POBNetworkMonitor.POBConnectivityListener

        POBNetworkMonitor.POBConnectivityListener()
    • Method Detail

      • onNetworkConnectionChanged

        @MainThread() void onNetworkConnectionChanged(boolean isConnected)

        Notifies whenever there is an update in network state, also provides internet connectivity

        Parameters:
        isConnected - true if internet is available else return false
      • onNetworkPropertiesChanged

         void onNetworkPropertiesChanged()

        Notifies when there are changes in 1. IP Addresses (e.g., DHCP lease renewal, IPv4 ↔ IPv6 switch), 2. Updates to DNS servers. 3. Changes in routing configurations, default gateway. 4. Modifications in MTU size or proxy settings.

        Note: This callback may be invoked frequently, so avoid heavy operations inside it.