MiniProgramBluetoothPolicy constructor

const MiniProgramBluetoothPolicy({
  1. bool enabled = false,
  2. bool allowWrite = false,
  3. bool allowNotifications = true,
  4. List<String> allowedServices = const [],
  5. int maxScanMs = 10000,
  6. int maxDevices = 20,
  7. int maxValueBytes = 512,
})

Implementation

const MiniProgramBluetoothPolicy({
  this.enabled = false,
  this.allowWrite = false,
  this.allowNotifications = true,
  this.allowedServices = const [],
  this.maxScanMs = 10000,
  this.maxDevices = 20,
  this.maxValueBytes = 512,
});