scan method

Stream<ScanResult> scan({
  1. List<Uuid> withServices = const [],
  2. List<String> withRemoteIds = const [],
  3. List<String> withNames = const [],
  4. List<String> withKeywords = const [],
  5. List<MsdFilter> withMsd = const [],
  6. List<ServiceDataFilter> withServiceData = const [],
  7. bool continuousUpdates = false,
  8. int continuousDivisor = 1,
  9. bool androidLegacy = false,
  10. AndroidScanMode androidScanMode = AndroidScanMode.lowLatency,
  11. bool androidUsesFineLocation = false,
  12. List<Uuid> webOptionalServices = const [],
  13. Duration? timeout,
})

Implementation

Stream<ScanResult> scan({
  List<Uuid> withServices = const [],
  List<String> withRemoteIds = const [],
  List<String> withNames = const [],
  List<String> withKeywords = const [],
  List<MsdFilter> withMsd = const [],
  List<ServiceDataFilter> withServiceData = const [],
  bool continuousUpdates = false,
  int continuousDivisor = 1,
  bool androidLegacy = false,
  AndroidScanMode androidScanMode = AndroidScanMode.lowLatency,
  bool androidUsesFineLocation = false,
  List<Uuid> webOptionalServices = const [],
  Duration? timeout,
}) => Bluebird.scan(
  withServices: withServices,
  withRemoteIds: withRemoteIds,
  withNames: withNames,
  withKeywords: withKeywords,
  withMsd: withMsd,
  withServiceData: withServiceData,
  continuousUpdates: continuousUpdates,
  continuousDivisor: continuousDivisor,
  androidLegacy: androidLegacy,
  androidScanMode: androidScanMode,
  androidUsesFineLocation: androidUsesFineLocation,
  webOptionalServices: webOptionalServices,
  timeout: timeout,
);