org.solovyev.android.network.NetworkState Maven / Gradle / Ivy
package org.solovyev.android.network;
/**
* User: serso
* Date: 7/26/12
* Time: 5:27 PM
*/
public enum NetworkState {
UNKNOWN,
/**
* This state is returned if there is connectivity to any network *
*/
CONNECTED,
/**
* This state is returned if there is no connectivity to any network. This is set
* to true under two circumstances:
*
* - When connectivity is lost to one network, and there is no other available
* network to attempt to switch to.
* - When connectivity is lost to one network, and the attempt to switch to
* another network fails.
*/
NOT_CONNECTED
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy