diff options
Diffstat (limited to 'framework/java/android/bluetooth/le/ScanCallback.java')
-rw-r--r-- | framework/java/android/bluetooth/le/ScanCallback.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/java/android/bluetooth/le/ScanCallback.java b/framework/java/android/bluetooth/le/ScanCallback.java index b4c1e1769c..5b373845a7 100644 --- a/framework/java/android/bluetooth/le/ScanCallback.java +++ b/framework/java/android/bluetooth/le/ScanCallback.java @@ -19,10 +19,9 @@ package android.bluetooth.le; import java.util.List; /** - * Bluetooth LE scan callbacks. - * Scan results are reported using these callbacks. + * Bluetooth LE scan callbacks. Scan results are reported using these callbacks. * - * {@see BluetoothLeScanner#startScan} + * @see BluetoothLeScanner#startScan */ public abstract class ScanCallback { /** @@ -48,8 +47,8 @@ public abstract class ScanCallback { /** * Callback when a BLE advertisement has been found. * - * @param callbackType Determines if this callback was triggered because of first match, - * a lost match indication or a regular scan result. + * @param callbackType Determines if this callback was triggered because of first match, a lost + * match indication or a regular scan result. * @param result A Bluetooth LE scan result. */ public void onScanResult(int callbackType, ScanResult result) { @@ -65,6 +64,7 @@ public abstract class ScanCallback { /** * Callback when scan could not be started. + * @param errorCode Error code (one of SCAN_FAILED_*) for scan failure. */ public void onScanFailed(int errorCode) { } |