BleScanCallback

  • The BleScanCallback class is deprecated and users should use BluetoothManager directly instead.

  • BleScanCallback is an abstract class that provides callbacks for BLE scans.

  • The onDeviceFound method is called for each device found during a scan.

  • The onScanStopped method is called when the scan is stopped.

public abstract class BleScanCallback extends Object

This class is deprecated.
Use BluetoothManager directly.

Callback for BLE Scans.

Public Constructor Summary

Public Method Summary

abstract void
onDeviceFound(BleDevice device)
Called once for each device found.
abstract void
onScanStopped()
Called when the scan is stopped (normally because the timeout expired).

Inherited Method Summary

Public Constructors

public BleScanCallback ()

Public Methods

public abstract void onDeviceFound (BleDevice device)

Called once for each device found.

public abstract void onScanStopped ()

Called when the scan is stopped (normally because the timeout expired).