to top
Android APIs
Added in API level 18
public static interface

BluetoothAdapter.LeScanCallback

android.bluetooth.BluetoothAdapter.LeScanCallback

Class Overview

Callback interface used to deliver LE scan results.

Summary

Public Methods
abstract void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord)
Callback reporting an LE device found during a device scan initiated by the startLeScan(BluetoothAdapter.LeScanCallback) function.

Public Methods

public abstract void onLeScan (BluetoothDevice device, int rssi, byte[] scanRecord)

Added in API level 18

Callback reporting an LE device found during a device scan initiated by the startLeScan(BluetoothAdapter.LeScanCallback) function.

Parameters
device Identifies the remote device
rssi The RSSI value for the remote device as reported by the Bluetooth hardware. 0 if no RSSI value is available.
scanRecord The content of the advertisement record offered by the remote device.