Skip navigation links
A B C D E F G H I L M N O P R S T 

A

available(boolean) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

B

build() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 
Builder() - Constructor for class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

C

checkGreaterOrEqualToZero(int, String) - Static method in class com.github.pwittchen.reactivenetwork.library.Preconditions
Validation method, which checks is an integer number is positive
checkGreaterThanZero(int, String) - Static method in class com.github.pwittchen.reactivenetwork.library.Preconditions
Validation method, which checks is an integer number is non-zero or positive
checkNotNull(Object, String) - Static method in class com.github.pwittchen.reactivenetwork.library.Preconditions
Validation method, which checks if an object is null
checkNotNullOrEmpty(String, String) - Static method in class com.github.pwittchen.reactivenetwork.library.Preconditions
Validation method, which checks if a string is null or empty
com.github.pwittchen.reactivenetwork.library - package com.github.pwittchen.reactivenetwork.library
 
com.github.pwittchen.reactivenetwork.library.internet.observing - package com.github.pwittchen.reactivenetwork.library.internet.observing
 
com.github.pwittchen.reactivenetwork.library.internet.observing.error - package com.github.pwittchen.reactivenetwork.library.internet.observing.error
 
com.github.pwittchen.reactivenetwork.library.internet.observing.strategy - package com.github.pwittchen.reactivenetwork.library.internet.observing.strategy
 
com.github.pwittchen.reactivenetwork.library.network.observing - package com.github.pwittchen.reactivenetwork.library.network.observing
 
com.github.pwittchen.reactivenetwork.library.network.observing.strategy - package com.github.pwittchen.reactivenetwork.library.network.observing.strategy
 
Connectivity - Class in com.github.pwittchen.reactivenetwork.library
Connectivity class represents current connectivity status.
Connectivity() - Constructor for class com.github.pwittchen.reactivenetwork.library.Connectivity
 
Connectivity(Connectivity.Builder) - Constructor for class com.github.pwittchen.reactivenetwork.library.Connectivity
 
Connectivity.Builder - Class in com.github.pwittchen.reactivenetwork.library
 
ConnectivityPredicate - Class in com.github.pwittchen.reactivenetwork.library
ConnectivityPredicate is a class containing predefined methods, which can be used for filtering reactive streams of network connectivity
create() - Static method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
create(Context) - Static method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
create() - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Creates a new instance of the ReactiveNetwork class

D

DefaultErrorHandler - Class in com.github.pwittchen.reactivenetwork.library.internet.observing.error
 
DefaultErrorHandler() - Constructor for class com.github.pwittchen.reactivenetwork.library.internet.observing.error.DefaultErrorHandler
 
detailedState(NetworkInfo.DetailedState) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

E

equals(Object) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
ErrorHandler - Interface in com.github.pwittchen.reactivenetwork.library.internet.observing.error
 
extraInfo(String) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

F

failover(boolean) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

G

getDetailedState() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getExtraInfo() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getReason() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getState() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getSubType() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getSubTypeName() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getType() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
getTypeName() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 

H

handleError(Exception, String) - Method in class com.github.pwittchen.reactivenetwork.library.internet.observing.error.DefaultErrorHandler
 
handleError(Exception, String) - Method in interface com.github.pwittchen.reactivenetwork.library.internet.observing.error.ErrorHandler
 
hashCode() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
hasState(NetworkInfo.State...) - Static method in class com.github.pwittchen.reactivenetwork.library.ConnectivityPredicate
Filter, which returns true if at least one given state occurred
hasType(int...) - Static method in class com.github.pwittchen.reactivenetwork.library.ConnectivityPredicate
Filter, which returns true if at least one given type occurred

I

InternetObservingStrategy - Interface in com.github.pwittchen.reactivenetwork.library.internet.observing
Internet observing strategy allows to implement different strategies for monitoring connectivity with the Internet.
isAtLeastAndroidLollipop() - Static method in class com.github.pwittchen.reactivenetwork.library.Preconditions
Validation method, which checks if current Android version is at least Lollipop (API 21) or higher
isAtLeastAndroidMarshmallow() - Static method in class com.github.pwittchen.reactivenetwork.library.Preconditions
Validation method, which checks if current Android version is at least Marshmallow (API 23) or higher
isAvailable() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
isConnected(String, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.internet.observing.strategy.SocketInternetObservingStrategy
checks if device is connected to given host at given port
isConnected(Socket, String, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.internet.observing.strategy.SocketInternetObservingStrategy
checks if device is connected to given host at given port
isFailover() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
isRoaming() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 

L

LOG_TAG - Static variable in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
 
LollipopNetworkObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.network.observing.strategy
Network observing strategy for devices with Android Lollipop (API 21) or higher.
LollipopNetworkObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.LollipopNetworkObservingStrategy
 

M

MarshmallowNetworkObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.network.observing.strategy
Network observing strategy for devices with Android Marshmallow (API 23) or higher.
MarshmallowNetworkObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.MarshmallowNetworkObservingStrategy
 

N

NetworkObservingStrategy - Interface in com.github.pwittchen.reactivenetwork.library.network.observing
Network observing strategy allows to implement different strategies for monitoring network connectivity change.

O

observeInternetConnectivity(int, int, String, int, int, ErrorHandler) - Method in interface com.github.pwittchen.reactivenetwork.library.internet.observing.InternetObservingStrategy
Observes connectivity with the Internet by opening socket connection with remote host
observeInternetConnectivity(int, int, String, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.internet.observing.strategy.SocketInternetObservingStrategy
Observes connectivity with the Internet by opening socket connection with remote host
observeInternetConnectivity() - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes connectivity with the Internet with default settings.
observeInternetConnectivity(InternetObservingStrategy) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes connectivity with the Internet with default settings, but with custom InternetObservingStrategy.
observeInternetConnectivity(int, String, int, int) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes connectivity with the Internet by opening socket connection with remote host
observeInternetConnectivity(int, int, String, int, int) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes connectivity with the Internet by opening socket connection with remote host
observeInternetConnectivity(int, int, String, int, int, ErrorHandler) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes connectivity with the Internet by opening socket connection with remote host
observeInternetConnectivity(InternetObservingStrategy, int, int, String, int, int, ErrorHandler) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes connectivity with the Internet by opening socket connection with remote host with custom strategy implementation
observeNetworkConnectivity(Context) - Method in interface com.github.pwittchen.reactivenetwork.library.network.observing.NetworkObservingStrategy
Observes network connectivity
observeNetworkConnectivity(Context) - Method in class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.LollipopNetworkObservingStrategy
 
observeNetworkConnectivity(Context) - Method in class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
observeNetworkConnectivity(Context) - Method in class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.PreLollipopNetworkObservingStrategy
 
observeNetworkConnectivity(Context) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes network connectivity.
observeNetworkConnectivity(Context, NetworkObservingStrategy) - Static method in class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
Observes network connectivity.
onError(String, Exception) - Method in interface com.github.pwittchen.reactivenetwork.library.network.observing.NetworkObservingStrategy
Handles errors, which occurred during observing network connectivity
onError(String, Exception) - Method in class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.LollipopNetworkObservingStrategy
 
onError(String, Exception) - Method in class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
onError(String, Exception) - Method in class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.PreLollipopNetworkObservingStrategy
 

P

Preconditions - Class in com.github.pwittchen.reactivenetwork.library
 
Preconditions() - Constructor for class com.github.pwittchen.reactivenetwork.library.Preconditions
 
PreLollipopNetworkObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.network.observing.strategy
Network observing strategy for Android devices before Lollipop (API 20 or lower).
PreLollipopNetworkObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.network.observing.strategy.PreLollipopNetworkObservingStrategy
 

R

ReactiveNetwork - Class in com.github.pwittchen.reactivenetwork.library
ReactiveNetwork is an Android library listening network connection state and change of the WiFi signal strength with RxJava Observables.
ReactiveNetwork() - Constructor for class com.github.pwittchen.reactivenetwork.library.ReactiveNetwork
 
reason(String) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 
roaming(boolean) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

S

SocketInternetObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.internet.observing.strategy
Default strategy for monitoring connectivity with the Internet
SocketInternetObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.internet.observing.strategy.SocketInternetObservingStrategy
 
state(NetworkInfo.State) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 
subType(int) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 
subTypeName(String) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 

T

toString() - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity
 
type(int) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 
typeName(String) - Method in class com.github.pwittchen.reactivenetwork.library.Connectivity.Builder
 
A B C D E F G H I L M N O P R S T 
Skip navigation links