Interface DefaultNetworkListener


  • public interface DefaultNetworkListener
    Listener for process default network change event from a Client.
    • Method Detail

      • onClientProcessBoundToCellular

        void onClientProcessBoundToCellular​(Client client,
                                            boolean processBoundToCellular)
        Called when the process default network has changed.
        Parameters:
        client - The client instance whose default process network is changed.
        processBoundToCellular - true if the process network traffic is bound to cellular network, false otherwise

        This notification is raised only if cellular preference is set using ClientConfiguration.setBindProcessToCellularEnabled(boolean processBoundToCellular).