ConnectivityResult enum
Connection status check result.
Values
- bluetooth → const ConnectivityResult
-
Bluetooth: Device connected via bluetooth
- wifi → const ConnectivityResult
-
WiFi: Device connected via Wi-Fi
- ethernet → const ConnectivityResult
-
Ethernet: Device connected to ethernet network
- mobile → const ConnectivityResult
-
Mobile: Device connected to cellular network
- none → const ConnectivityResult
-
None: Device not connected to any network
- vpn → const ConnectivityResult
-
VPN: Device connected to a VPN
Note for iOS and macOS: There is no separate network interface type for vpn. It returns other on any device (also simulator).
- other → const ConnectivityResult
-
Other: Device is connected to an unknown network
Properties
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<
ConnectivityResult> - A constant List of the values in this enum, in order of their declaration.