Package 

Class ConnectivityModule.Provider

    • Method Summary

      Modifier and Type Method Description
      ConnectivityModule.Provider pollDelay(long delay, TimeUnit unit) Set delay at which connectivity state is polled.
      • Methods inherited from class java.lang.Object

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

      • pollDelay

         ConnectivityModule.Provider pollDelay(long delay, TimeUnit unit)

        Set delay at which connectivity state is polled.

        If {@code delay}, converted to seconds, is {@code 0}, the default delay is used.

        Parameters:
        delay - delay between sucessive polls
        unit - unit {@code delay} is measured in