@Implements(value=android.bluetooth.le.BluetoothLeScanner.class, minSdk=21) public class ShadowBluetoothLeScanner extends Object
Constructor | Description |
---|---|
ShadowBluetoothLeScanner() |
Modifier and Type | Method | Description |
---|---|---|
Set<ScanCallback> |
getScanCallbacks() |
Returns all currently active
ScanCallback s. |
protected void |
startScan(List<ScanFilter> filters,
ScanSettings settings,
ScanCallback callback) |
Tracks ongoing scans.
|
protected void |
stopScan(ScanCallback callback) |
@Implementation protected void startScan(List<ScanFilter> filters, ScanSettings settings, ScanCallback callback)
getScanCallbacks()
to get a list of any currently registered
ScanCallback
s.@Implementation protected void stopScan(ScanCallback callback)
public Set<ScanCallback> getScanCallbacks()
ScanCallback
s.