ConnectivityState enum

Inheritance

Constructors

ConnectivityState()
const

Values

BLUETOOTH → const ConnectivityState

Device connected via bluetooth,but availability has not been detected.

BLUETOOTH_AVAILABLE → const ConnectivityState

Device connected via bluetooth,and the availability has been tested.

BLUETOOTH_NOT_AVAILABLE → const ConnectivityState

Device connected via bluetooth,and the availability test is not passed.

WIFI → const ConnectivityState

Device connected via Wi-Fi,but availability has not been detected.

WIFI_AVAILABLE → const ConnectivityState

Device connected via Wi-Fi,and the availability has been tested.

WIFI_NOT_AVAILABLE → const ConnectivityState

Device connected via Wi-Fi,and the availability test is not passed.

ETHERNET → const ConnectivityState

Device connected to ethernet network,but availability has not been detected.

ETHERNET_AVAILABLE → const ConnectivityState

Device connected to ethernet network,and the availability has been tested.

ETHERNET_NOT_AVAILABLE → const ConnectivityState

Device connected to ethernet network,and the availability test is not passed.

MOBILE → const ConnectivityState

Device connected to cellular network,but availability has not been detected.

MOBILE_AVAILABLE → const ConnectivityState

Device connected to cellular network,and the availability has been tested.

MOBILE_NOT_AVAILABLE → const ConnectivityState

Device connected to cellular network,and the availability test is not passed.

NONE → const ConnectivityState

evice not connected to any network

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ConnectivityState>
A constant List of the values in this enum, in order of their declaration.