NearbyDeviceStatus enum
Status of device connection.
Constructors
- NearbyDeviceStatus()
-
const
Values
- available → const NearbyDeviceStatus
- connected → const NearbyDeviceStatus
- failed → const NearbyDeviceStatus
- connecting → const NearbyDeviceStatus
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isAvailable → bool
-
Checks if status is NearbyDeviceStatus.available
no setter
- isConnected → bool
-
Checks if status is NearbyDeviceStatus.connected
no setter
- isConnecting → bool
-
Checks if status is NearbyDeviceStatus.connecting
no setter
- isFailed → bool
-
Checks if status is NearbyDeviceStatus.failed
no setter
-
Checks if status is NearbyDeviceStatus.unavailable
no setter
- 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
Static Methods
-
fromAndroidCode(
num? code) → NearbyDeviceStatus - Get NearbyDeviceStatus from the Android platform code.
-
fromIosCode(
String? code) → NearbyDeviceStatus - Get NearbyDeviceStatus from the IOS platform code.
Constants
-
values
→ const List<
NearbyDeviceStatus> - A constant List of the values in this enum, in order of their declaration.