MiniProgramBluetoothPolicy class
Host-accepted authority for foreground BLE. Empty allowedServices means any service after explicit acceptance; writes require separate opt-in.
- Annotations
Constructors
Properties
-
allowedServices
→ List<
String> -
final
- allowNotifications → bool
-
final
- allowWrite → bool
-
final
- enabled → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxDevices → int
-
final
- maxScanMs → int
-
final
- maxValueBytes → int
-
final
- 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
-
validate(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override