| java.lang.Object | |
| ↳ | android.bluetooth.le.ScanSettings.Builder |
Builder for ScanSettings.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Build
ScanSettings. | |||||||||||
Set callback type for Bluetooth LE scan.
| |||||||||||
Set report delay timestamp for Bluetooth LE scan.
| |||||||||||
Set scan mode for Bluetooth LE scan.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Set callback type for Bluetooth LE scan.
| callbackType | The callback type for the scan. Can only be
CALLBACK_TYPE_ON_UPDATE. |
|---|
| IllegalArgumentException | If the callbackType is invalid.
|
|---|
Set report delay timestamp for Bluetooth LE scan.
Set scan mode for Bluetooth LE scan.
| scanMode | The scan mode can be one of
SCAN_MODE_LOW_POWER,
SCAN_MODE_BALANCED or
SCAN_MODE_LOW_LATENCY. |
|---|
| IllegalArgumentException | If the scanMode is invalid.
|
|---|