Optional native BLE central adapter. Operations use canonical bluetooth.* action names and validated arguments. release must be idempotent and cancel permission waits, scans, pending GATT operations, notifications and connections for the exact session only. Implementations must isolate engines/tasks.
Properties
-
events
→ Stream<
MiniProgramBluetoothEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
invoke(
{required String miniProgramId, required String sessionId, required String action, required Map< String, dynamic> arguments}) → Future<Map< String, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
{required String miniProgramId, required String sessionId}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited