MiniProgramBluetooth class abstract final

Shared, bounded BLE wire values. Native addresses never cross this boundary.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

arguments(String action, Map<String, dynamic> raw, {bool allowBindings = false}) → Map<String, dynamic>
deviceId(Object? value) → String
hex(Object? value, {int limit = maxValueBytes, bool empty = true}) → String
result(String action, Object? raw, {int deviceLimit = maxDevices, int valueLimit = maxValueBytes}) → Map<String, dynamic>
Selects known fields only, and validates all native/provider output.
uuid(Object? value) → String
uuids(Object? value) → List<String>

Constants

actions → const Set<String>
maxDevices → const int
maxScanMs → const int
maxSubscriptions → const int
maxValueBytes → const int
maxWriteBytes → const int