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

A

adjustHost(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.SocketInternetObservingStrategy
adjusts host to needs of SocketInternetObservingStrategy
adjustHost(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 
appendUnknownNetworkTypeToTypes(int[]) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ConnectivityPredicate
Returns network types from the input with additional unknown type, what helps during connections filtering when device is being disconnected from a specific network
available() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
available(boolean) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
available(boolean) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 

B

build() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
build() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
 
Builder() - Constructor for class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
builder() - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
Creates builder object

C

checkGreaterOrEqualToZero(int, String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Preconditions
Validation method, which checks is an integer number is positive
checkGreaterThanZero(int, String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Preconditions
Validation method, which checks is an integer number is non-zero or positive
checkInternetConnectivity(String, int, int, int, ErrorHandler) - Method in interface com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingStrategy
Observes connectivity with the Internet by opening socket connection with remote host once
checkInternetConnectivity(String, int, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.SocketInternetObservingStrategy
 
checkInternetConnectivity(String, int, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 
checkInternetConnectivity() - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork
Checks connectivity with the Internet.
checkInternetConnectivity(InternetObservingSettings) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork
Checks connectivity with the Internet.
checkInternetConnectivity(InternetObservingStrategy, String, int, int, int, ErrorHandler) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork
Checks connectivity with the Internet.
checkNotNull(Object, String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Preconditions
Validation method, which checks if an object is null
checkNotNullOrEmpty(String, String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Preconditions
Validation method, which checks if a string is null or empty
com.github.pwittchen.reactivenetwork.library.rx2 - package com.github.pwittchen.reactivenetwork.library.rx2
 
com.github.pwittchen.reactivenetwork.library.rx2.internet.observing - package com.github.pwittchen.reactivenetwork.library.rx2.internet.observing
 
com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.error - package com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.error
 
com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy - package com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy
 
com.github.pwittchen.reactivenetwork.library.rx2.network.observing - package com.github.pwittchen.reactivenetwork.library.rx2.network.observing
 
com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy - package com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy
 
Connectivity - Class in com.github.pwittchen.reactivenetwork.library.rx2
Connectivity class represents current connectivity status.
Connectivity.Builder - Class in com.github.pwittchen.reactivenetwork.library.rx2
 
ConnectivityPredicate - Class in com.github.pwittchen.reactivenetwork.library.rx2
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.rx2.Connectivity
 
create(Context) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
create(Context, ConnectivityManager) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
create() - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
create() - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ReactiveNetwork
Creates a new instance of the ReactiveNetwork class
createHttpsUrlConnection(String, int, int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 
createHttpUrlConnection(String, int, int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 
createIdleBroadcastReceiver() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
createNetworkCallback(Context) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 

D

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

E

equals(Object) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
ERROR_MSG_NETWORK_CALLBACK - Static variable in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
ERROR_MSG_RECEIVER - Static variable in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
ErrorHandler - Interface in com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.error
 
errorHandler(ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets error handler for pings and connections
errorHandler() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
extraInfo(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
extraInfo() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
extraInfo(String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 

F

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

G

getDefaultPingHost() - Method in interface com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingStrategy
Gets default remote ping host for a given Internet Observing Strategy
getDefaultPingHost() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.SocketInternetObservingStrategy
 
getDefaultPingHost() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 

H

handleError(Exception, String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.error.DefaultErrorHandler
 
handleError(Exception, String) - Method in interface com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.error.ErrorHandler
 
hashCode() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
hasState(NetworkInfo.State...) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ConnectivityPredicate
Filter, which returns true if at least one given state occurred
hasType(int...) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.ConnectivityPredicate
Filter, which returns true if at least one given type occurred
host(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets ping host
host() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
httpResponse(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets HTTP response code indicating that connection is established
httpResponse() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 

I

initialInterval(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets initial ping interval in milliseconds
initialInterval() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
InternetObservingSettings - Class in com.github.pwittchen.reactivenetwork.library.rx2.internet.observing
Contains state of internet connectivity settings.
InternetObservingSettings.Builder - Class in com.github.pwittchen.reactivenetwork.library.rx2.internet.observing
Settings builder, which contains default parameters
InternetObservingStrategy - Interface in com.github.pwittchen.reactivenetwork.library.rx2.internet.observing
Internet observing strategy allows to implement different strategies for monitoring connectivity with the Internet.
interval(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets ping interval in milliseconds
interval() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
isAtLeastAndroidLollipop() - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.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.rx2.Preconditions
Validation method, which checks if current Android version is at least Marshmallow (API 23) or higher
isConnected(String, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.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.rx2.internet.observing.strategy.SocketInternetObservingStrategy
checks if device is connected to given host at given port
isConnected(String, int, int, int, ErrorHandler) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 
isIdleMode(Context) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 

L

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

M

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

N

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

O

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

P

port(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets ping port
port() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
Preconditions - Class in com.github.pwittchen.reactivenetwork.library.rx2
 
Preconditions() - Constructor for class com.github.pwittchen.reactivenetwork.library.rx2.Preconditions
 
PreLollipopNetworkObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy
Network observing strategy for Android devices before Lollipop (API 20 or lower).
PreLollipopNetworkObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.PreLollipopNetworkObservingStrategy
 
propagateAnyConnectedState(Connectivity, Connectivity) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 

R

ReactiveNetwork - Class in com.github.pwittchen.reactivenetwork.library.rx2
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.rx2.ReactiveNetwork
 
reason(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
reason() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
reason(String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
registerIdleReceiver(Context) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
roaming(boolean) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
roaming() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
roaming(boolean) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 

S

SocketInternetObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy
Socket strategy for monitoring connectivity with the Internet.
SocketInternetObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.SocketInternetObservingStrategy
 
state(NetworkInfo.State) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
state() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
state(NetworkInfo.State) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
state(NetworkInfo.DetailedState) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
strategy(InternetObservingStrategy) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets internet observing strategy
strategy() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
subType(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
subType() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
subType(int) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
subTypeName(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
subTypeName() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
subTypeName(String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 

T

timeout(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings.Builder
sets ping timeout in milliseconds
timeout() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.InternetObservingSettings
 
toString() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
tryToUnregisterCallback(ConnectivityManager) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
tryToUnregisterReceiver(Context) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.MarshmallowNetworkObservingStrategy
 
tryToUnregisterReceiver(Context, BroadcastReceiver) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.network.observing.strategy.PreLollipopNetworkObservingStrategy
 
type(int) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
type() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
type(int) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
typeName(String) - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity.Builder
 
typeName() - Method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 
typeName(String) - Static method in class com.github.pwittchen.reactivenetwork.library.rx2.Connectivity
 

W

WalledGardenInternetObservingStrategy - Class in com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy
Walled Garden Strategy for monitoring connectivity with the Internet.
WalledGardenInternetObservingStrategy() - Constructor for class com.github.pwittchen.reactivenetwork.library.rx2.internet.observing.strategy.WalledGardenInternetObservingStrategy
 
A B C D E F G H I L M N O P R S T W 
Skip navigation links