WebOptions class
Web options to scan devices
optionalServices is a list of service uuid's to ensure that you can access the specified services after connecting to the device,
by default services from scanFilter will be used
optionalManufacturerData is list of CompanyIdentifier's and used to add ManufacturerData in advertisement results of selected device from web dialog,
by default manufacturerData from scanFilter will be used
Checkout more details on web
Note: you will only get advertisements if Experimental Flag is enabled in the browser
Constructors
-
WebOptions({List<
String> optionalServices = const [], List<int> optionalManufacturerData = const []})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
optionalManufacturerData
↔ List<
int> -
getter/setter pair
-
optionalServices
↔ List<
String> -
getter/setter pair
- 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