All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.solovyev.android.network.NetworkState Maven / Gradle / Ivy

There is a newer version: 1.1.18
Show newest version
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