public static final enum

HtcNetworkConnectivityHelper.State

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ android.net.HtcNetworkConnectivityHelper.State

Summary

Enum Values
HtcNetworkConnectivityHelper.State  CONNECTED  This state is returned if there is connectivity to any network  
HtcNetworkConnectivityHelper.State  NOT_CONNECTED  This state is returned if there is no connectivity to any network. 
Public Methods
static HtcNetworkConnectivityHelper.State valueOf(String name)
final static State[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final HtcNetworkConnectivityHelper.State CONNECTED

Since: API Level

This state is returned if there is connectivity to any network

public static final HtcNetworkConnectivityHelper.State NOT_CONNECTED

Since: API Level

This state is returned if there is no connectivity to any network. This is set to true under two circumstances:

  • When connectivity is lost mListeningto 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.

Public Methods

public static HtcNetworkConnectivityHelper.State valueOf (String name)

public static final State[] values ()