EspBleProvisioning class
Constructors
Properties
-
device
↔ List<
BleDevices> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connectToBluetoothDevice(
String name, String pin) → Stream< String> - Stream which splits the bluetooth adapter state
-
getBluetoothState(
) → Future< BluetoothState> - Retrives the hardware state of the bluetooth adapter on the device.
-
getBluetoothStateStream(
) → Stream< BluetoothState> - Stream which splits the bluetooth adapter state
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printFunct(
) → Future - dummy function return future
-
provisionDevice(
String ssid, String password) → Stream< String> -
requestPermission(
) → void - Asks for location permission from the platfrom
-
scanBluetoothDevice(
) → Stream< List< BleDevices> > - Scans and sends the scan response on the foreground ie Dart side
-
startProvisioning(
String ssid, String password) → Future< ProvisionState> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
platformVersion
→ Future<
String> -
no setter