Skip to content

1.0.0-rx2

Compare
Choose a tag to compare
@pwittchen pwittchen released this 24 Jun 18:46
· 271 commits to RxJava2.x since this release
2b6d15a
  • fixed docs in 76ab2b2 after reporting problem in #276 (returning false-positive connectivity results in one edge-case)
  • updated project dependencies - PR #269, commit 02449af
  • refactored ReactiveNetwork class with Builder pattern - PR #279
  • removed the following methods from the ReactiveNetwork class:
Observable<Boolean> observeInternetConnectivity(int interval, String host, int port, int timeout)
Observable<Boolean> observeInternetConnectivity(int initialIntervalInMs, int intervalInMs, String host, int port, int timeout)
Observable<Boolean> observeInternetConnectivity(final int initialIntervalInMs, final int intervalInMs, final String host, final int port, final int timeoutInMs, final ErrorHandler errorHandler)
Observable<Boolean> observeInternetConnectivity(final InternetObservingStrategy strategy)
Observable<Boolean> observeInternetConnectivity(final InternetObservingStrategy strategy, final String host)

Single<Boolean> checkInternetConnectivity(InternetObservingStrategy strategy)
Single<Boolean> checkInternetConnectivity(String host,int port, int timeoutInMs)
Single<Boolean> checkInternetConnectivity(String host, int port, int timeoutInMs, ErrorHandler errorHandler)
Single<Boolean> checkInternetConnectivity(final InternetObservingStrategy strategy, final String host)
  • added InternetObservingSettings class
  • added the following methods to the ReactiveNetwork class:
Observable<Boolean> observeInternetConnectivity(InternetObservingSettings settings)
Single<Boolean> checkInternetConnectivity(InternetObservingSettings settings)