DeviceDiscoveryOptions class
Device discovery options, part of MoveOptions
.
Constructors
- DeviceDiscoveryOptions({int? startDelay, int? duration, int? interval, bool? stopScanOnFirstDiscovered})
Properties
- duration ↔ int?
-
Duration of the scan. Default is 10 seconds.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval ↔ int?
-
Interval between scans. Default is 300 seconds.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDelay ↔ int?
-
The initial delay before first scan. Default and minimal is 120 seconds.
getter/setter pair
- stopScanOnFirstDiscovered ↔ bool?
-
Allows you to stop the scan after any registered device is found.
getter/setter pair
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