Enum NetworkState
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum NetworkState extends Enum<NetworkState>
This class is internal and not for public use. Its APIs are unstable and can change at any time.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringhumanNameprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<NetworkState>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_NETWORK_AVAILABLETRANSPORT_CELLULARTRANSPORT_WIFITRANSPORT_WIREDTRANSPORT_UNKNOWNTRANSPORT_VPN
-
Method Summary
Modifier and Type Method Description final NetworkStatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<NetworkState>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetHumanName()final EnumEntries<NetworkState>getEntries()This class is internal and not for public use. -
-
Method Detail
-
valueOf
final NetworkState valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<NetworkState> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getHumanName
final String getHumanName()
-
getEntries
final EnumEntries<NetworkState> getEntries()
This class is internal and not for public use. Its APIs are unstable and can change at any time.
-
-
-
-