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

A

available(boolean) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 

B

build() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
Build - Class in greyfox.rxnetwork.internal.os
This class contains platform version checking methods for testing compatibility with platform features.
build() - Method in class greyfox.rxnetwork.internal.strategy.internet.impl.HttpOkInternetObservingStrategy.Builder
Create an immutable instance of HttpOkInternetObservingStrategy using configured values.
build() - Method in class greyfox.rxnetwork.internal.strategy.internet.impl.SocketInternetObservingStrategy.Builder
Create an immutable instance of SocketInternetObservingStrategy using configured values.
build() - Method in class greyfox.rxnetwork.internal.strategy.internet.impl.WalledGardenInternetObservingStrategy.Builder
Create an immutable instance of WalledGardenInternetObservingStrategy using configured values.
builder() - Static method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
builder() - Static method in class greyfox.rxnetwork.internal.strategy.internet.impl.HttpOkInternetObservingStrategy
 
builder() - Static method in class greyfox.rxnetwork.internal.strategy.internet.impl.SocketInternetObservingStrategy
 
builder() - Static method in class greyfox.rxnetwork.internal.strategy.internet.impl.WalledGardenInternetObservingStrategy
 
builder() - Static method in class greyfox.rxnetwork.RxNetwork
 
BuiltInNetworkObservingStrategyFactory - Class in greyfox.rxnetwork.internal.strategy.network.factory
Library's built-in implementation of NetworkObservingStrategyFactory.
BuiltInNetworkObservingStrategyProviders - Class in greyfox.rxnetwork.internal.strategy.network.providers
Library's built-in providers of network observing strategies.
BuiltInNetworkObservingStrategyProviders(Context) - Constructor for class greyfox.rxnetwork.internal.strategy.network.providers.BuiltInNetworkObservingStrategyProviders
 
BuiltInNetworkObservingStrategyProviders(Context, NetworkRequest) - Constructor for class greyfox.rxnetwork.internal.strategy.network.providers.BuiltInNetworkObservingStrategyProviders
 

C

canProvide() - Method in interface greyfox.rxnetwork.internal.strategy.network.providers.NetworkObservingStrategyProvider
Implement this method to determine under what condition your provider can NetworkObservingStrategyProvider.provide() concrete NetworkObservingStrategy.
checkNotNull(T) - Static method in class greyfox.rxnetwork.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String) - Static method in class greyfox.rxnetwork.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNullWithMessage(T, String) - Static method in class greyfox.rxnetwork.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNullWithMessage(T, String, Object...) - Static method in class greyfox.rxnetwork.common.base.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
connected(boolean) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
connectedOrConnecting(boolean) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
create() - Static method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
create(NetworkInfo) - Static method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
create(Context) - Static method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
Gets network information from provided context.
create(Network, ConnectivityManager) - Static method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
Gets network information from given Network instance along with NetworkCapabilities provided at the time of registering network callback in ConnectivityManager.registerNetworkCallback(android.net.NetworkRequest, android.net.ConnectivityManager.NetworkCallback) (if available).
create() - Static method in class greyfox.rxnetwork.internal.strategy.internet.impl.HttpOkInternetObservingStrategy
 
create() - Static method in class greyfox.rxnetwork.internal.strategy.internet.impl.SocketInternetObservingStrategy
 
create() - Static method in class greyfox.rxnetwork.internal.strategy.internet.impl.WalledGardenInternetObservingStrategy
 
create(ObservingStrategyProviders<NetworkObservingStrategyProvider>) - Static method in class greyfox.rxnetwork.internal.strategy.network.factory.BuiltInNetworkObservingStrategyFactory
 

D

defaultNetworkRequest(NetworkRequest) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Set the default network request to be used by network strategy when on Lollipop+ device.
defaultScheduler(Scheduler) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Set default "subscribeOn" scheduler to be used by all library's observables.
detailedState(NetworkInfo.DetailedState) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 

E

equals(Object) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
extraInfo(String) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 

F

failover(boolean) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
Functions - Class in greyfox.rxnetwork.internal.strategy.network.helpers
Predefined collection of RxNetworkInfo related helper functions.

G

get() - Method in class greyfox.rxnetwork.internal.strategy.network.factory.BuiltInNetworkObservingStrategyFactory
Returns API-specific network observing strategy
get() - Method in class greyfox.rxnetwork.internal.strategy.network.providers.BuiltInNetworkObservingStrategyProviders
Gets collection of unmodifiable NetworkObservingStrategyProvider's.
get() - Method in interface greyfox.rxnetwork.internal.strategy.network.providers.ObservingStrategyProviders
 
get() - Method in interface greyfox.rxnetwork.internal.strategy.ObservingStrategyFactory
 
getDetailedState() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getExtraInfo() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getNetworkCapabilities() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getReason() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getState() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getSubType() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getSubTypeName() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getType() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
getTypeName() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
greyfox.rxnetwork - package greyfox.rxnetwork
 
greyfox.rxnetwork.common.base - package greyfox.rxnetwork.common.base
 
greyfox.rxnetwork.internal.net - package greyfox.rxnetwork.internal.net
 
greyfox.rxnetwork.internal.os - package greyfox.rxnetwork.internal.os
 
greyfox.rxnetwork.internal.strategy - package greyfox.rxnetwork.internal.strategy
 
greyfox.rxnetwork.internal.strategy.internet - package greyfox.rxnetwork.internal.strategy.internet
 
greyfox.rxnetwork.internal.strategy.internet.error - package greyfox.rxnetwork.internal.strategy.internet.error
 
greyfox.rxnetwork.internal.strategy.internet.impl - package greyfox.rxnetwork.internal.strategy.internet.impl
 
greyfox.rxnetwork.internal.strategy.network - package greyfox.rxnetwork.internal.strategy.network
 
greyfox.rxnetwork.internal.strategy.network.factory - package greyfox.rxnetwork.internal.strategy.network.factory
 
greyfox.rxnetwork.internal.strategy.network.helpers - package greyfox.rxnetwork.internal.strategy.network.helpers
 
greyfox.rxnetwork.internal.strategy.network.impl - package greyfox.rxnetwork.internal.strategy.network.impl
 
greyfox.rxnetwork.internal.strategy.network.predicate - package greyfox.rxnetwork.internal.strategy.network.predicate
 
greyfox.rxnetwork.internal.strategy.network.providers - package greyfox.rxnetwork.internal.strategy.network.providers
 

H

hashCode() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
hasState(NetworkInfo.State...) - Static method in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.State
Determines if any of provided states occurred.
hasTransportType(int...) - Static method in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.Capabilities
Determines if any of specified transport types occurred.
hasType(int...) - Static method in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.Type
Determines if at least one of provided network types occurred.
HttpOkInternetObservingStrategy - Class in greyfox.rxnetwork.internal.strategy.internet.impl
Variation of UrlConnectionInternetObservingStrategy that uses HttpURLConnection.HTTP_OK (Status-Code 200) as default check against given endpoint.
HttpOkInternetObservingStrategy.Builder - Class in greyfox.rxnetwork.internal.strategy.internet.impl
HttpOkInternetObservingStrategy builder static inner class.

I

init(Context) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Create the RxNetwork instance using the configured values.
init() - Method in class greyfox.rxnetwork.RxNetwork.Builder
Create the RxNetwork instance using the configured values.
init(Context) - Static method in class greyfox.rxnetwork.RxNetwork
Create default implementation of RxNetwork.
init() - Static method in class greyfox.rxnetwork.RxNetwork
Create default implementation of RxNetwork if not using network observing strategies.
InternetObservingStrategy - Interface in greyfox.rxnetwork.internal.strategy.internet
Interface allowing to implement different strategies for monitoring real internet connectivity changes.
internetObservingStrategy(InternetObservingStrategy) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Set custom internet observing strategy to be used by library.
InternetObservingStrategyException - Exception in greyfox.rxnetwork.internal.strategy.internet.error
Custom exception for InternetObservingStrategy related stuff.
InternetObservingStrategyException() - Constructor for exception greyfox.rxnetwork.internal.strategy.internet.error.InternetObservingStrategyException
 
InternetObservingStrategyException(String) - Constructor for exception greyfox.rxnetwork.internal.strategy.internet.error.InternetObservingStrategyException
 
InternetObservingStrategyException(String, Throwable) - Constructor for exception greyfox.rxnetwork.internal.strategy.internet.error.InternetObservingStrategyException
 
InternetObservingStrategyException(Throwable) - Constructor for exception greyfox.rxnetwork.internal.strategy.internet.error.InternetObservingStrategyException
 
InternetObservingStrategyFactory - Interface in greyfox.rxnetwork.internal.strategy.internet
Base interface for InternetObservingStrategy factory.
internetObservingStrategyFactory(InternetObservingStrategyFactory) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Set custom internet observing strategy factory to be used as library's default.
IS_MOBILE - Static variable in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.Type
Predefined predicate for mobile network type
IS_WIFI - Static variable in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.Type
Predefined predicate for wifi network type
isAtLeastLollipop() - Static method in class greyfox.rxnetwork.internal.os.Build
 
isAtLeastMarshmallow() - Static method in class greyfox.rxnetwork.internal.os.Build
 
isAvailable() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
isConnected() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
isConnectedOrConnecting() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
isFailover() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
isLessThanLollipop() - Static method in class greyfox.rxnetwork.internal.os.Build
 
isLessThanMarshmallow() - Static method in class greyfox.rxnetwork.internal.os.Build
 
isRoaming() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
isSatisfiedByDownBandwidth(int) - Static method in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.Capabilities
Checks if given network satisfies minimum downstream bandwidth.
isSatisfiedByUpBandwidth(int) - Static method in class greyfox.rxnetwork.internal.strategy.network.predicate.RxNetworkInfoPredicate.Capabilities
Checks if given network satisfies minimum upstream bandwidth.

L

LollipopNetworkObservingStrategy - Class in greyfox.rxnetwork.internal.strategy.network.impl
RxNetworkInfo observing strategy for Android devices with API 21 (Lollipop) or higher.
LollipopNetworkObservingStrategy(Context) - Constructor for class greyfox.rxnetwork.internal.strategy.network.impl.LollipopNetworkObservingStrategy
 
LollipopNetworkObservingStrategy(Context, NetworkRequest) - Constructor for class greyfox.rxnetwork.internal.strategy.network.impl.LollipopNetworkObservingStrategy
 

M

MarshmallowNetworkObservingStrategy - Class in greyfox.rxnetwork.internal.strategy.network.impl
RxNetworkInfo observing strategy for Android devices with API 23 (Marshmallow) or higher.
MarshmallowNetworkObservingStrategy(Context) - Constructor for class greyfox.rxnetwork.internal.strategy.network.impl.MarshmallowNetworkObservingStrategy
 
MarshmallowNetworkObservingStrategy(Context, NetworkRequest) - Constructor for class greyfox.rxnetwork.internal.strategy.network.impl.MarshmallowNetworkObservingStrategy
 

N

networkCapabilities(NetworkCapabilities) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
NetworkObservingStrategy - Interface in greyfox.rxnetwork.internal.strategy.network
Interface allowing to implement different strategies for monitoring network connectivity change.
networkObservingStrategy(NetworkObservingStrategy) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Set custom network observing strategy to be used by library.
NetworkObservingStrategyFactory - Interface in greyfox.rxnetwork.internal.strategy.network
Basic interface for NetworkObservingStrategyFactory.
networkObservingStrategyFactory(NetworkObservingStrategyFactory) - Method in class greyfox.rxnetwork.RxNetwork.Builder
Set custom network observing strategy factory to be used as library's default.
NetworkObservingStrategyProvider - Interface in greyfox.rxnetwork.internal.strategy.network.providers
Interface allowing to provide concrete NetworkObservingStrategy based on specific criteria.

O

observe() - Method in class greyfox.rxnetwork.internal.strategy.network.impl.LollipopNetworkObservingStrategy
 
observe() - Method in class greyfox.rxnetwork.internal.strategy.network.impl.MarshmallowNetworkObservingStrategy
 
observe() - Method in class greyfox.rxnetwork.internal.strategy.network.impl.PreLollipopNetworkObservingStrategy
 
observe() - Method in interface greyfox.rxnetwork.internal.strategy.ObservingStrategy
 
observe() - Method in class greyfox.rxnetwork.RxNetwork
RxNetworkInfo connectivity observable with all the original NetworkInfo information.
observe(NetworkObservingStrategy) - Method in class greyfox.rxnetwork.RxNetwork
RxNetworkInfo connectivity observable with all the original NetworkInfo information that uses custom defined strategy.
observeInternetAccess() - Method in class greyfox.rxnetwork.RxNetwork
Real internet access observable.
observeInternetAccess(InternetObservingStrategy) - Method in class greyfox.rxnetwork.RxNetwork
Real internet access observable with custom defined strategy.
observeSimple() - Method in class greyfox.rxnetwork.RxNetwork
Simple network connectivity observable based on RxNetwork.observe() that filters all the unnecessary information from NetworkInfo and shows only bare connection status changes.
ObservingStrategy<T> - Interface in greyfox.rxnetwork.internal.strategy
Base interface for ObservingStrategy.
ObservingStrategyFactory<T extends ObservingStrategy> - Interface in greyfox.rxnetwork.internal.strategy
Base interface for ObservingStrategyFactory.
ObservingStrategyProviders<T extends greyfox.rxnetwork.internal.strategy.network.providers.ObservingStrategyProvider> - Interface in greyfox.rxnetwork.internal.strategy.network.providers
Base interface for ObservingStrategyProviders.

P

port(int) - Method in class greyfox.rxnetwork.internal.strategy.internet.impl.SocketInternetObservingStrategy.Builder
Set the port for the strategy.
Preconditions - Class in greyfox.rxnetwork.common.base
Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
PreLollipopNetworkObservingStrategy - Class in greyfox.rxnetwork.internal.strategy.network.impl
RxNetworkInfo observing strategy for pre-Lollipop Android devices (API < 21).
PreLollipopNetworkObservingStrategy(Context) - Constructor for class greyfox.rxnetwork.internal.strategy.network.impl.PreLollipopNetworkObservingStrategy
 
provide() - Method in interface greyfox.rxnetwork.internal.strategy.network.providers.NetworkObservingStrategyProvider
Implement this to return concrete NetworkObservingStrategy.

R

reason(String) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
roaming(boolean) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
RxNetwork - Class in greyfox.rxnetwork
RxNetwork is a class that listens to network connectivity changes in a reactive manner.
RxNetwork.Builder - Class in greyfox.rxnetwork
Build a new RxNetwork.
RxNetworkInfo - Class in greyfox.rxnetwork.internal.net
Wrapper class for NetworkInfo.
RxNetworkInfo.Builder - Class in greyfox.rxnetwork.internal.net
 
RxNetworkInfoPredicate - Class in greyfox.rxnetwork.internal.strategy.network.predicate
Contains predefined predicates for filtering reactive streams of RxNetwork.
RxNetworkInfoPredicate.Capabilities - Class in greyfox.rxnetwork.internal.strategy.network.predicate
Predicate class for filtering reactive streams of RxNetwork by various network capabilities.
RxNetworkInfoPredicate.State - Class in greyfox.rxnetwork.internal.strategy.network.predicate
Predicate class for filtering reactive streams of RxNetwork by network state.
RxNetworkInfoPredicate.Type - Class in greyfox.rxnetwork.internal.strategy.network.predicate
Predicate class for filtering reactive streams of RxNetwork by network type.

S

SocketInternetObservingStrategy - Class in greyfox.rxnetwork.internal.strategy.internet.impl
Socket-based strategy for monitoring connectivity with the Internet.
SocketInternetObservingStrategy.Builder - Class in greyfox.rxnetwork.internal.strategy.internet.impl
state(NetworkInfo.State) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
subType(int) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
subTypeName(String) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 

T

TO_CONNECTION_STATE - Static variable in class greyfox.rxnetwork.internal.strategy.network.helpers.Functions
 
toString() - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo
 
type(int) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 
typeName(String) - Method in class greyfox.rxnetwork.internal.net.RxNetworkInfo.Builder
 

W

WalledGardenInternetObservingStrategy - Class in greyfox.rxnetwork.internal.strategy.internet.impl
Library's default for monitoring real internet connectivity changes.
WalledGardenInternetObservingStrategy.Builder - Class in greyfox.rxnetwork.internal.strategy.internet.impl
A B C D E F G H I L M N O P R S T W 
Skip navigation links