This class is deprecated.
Use BluetoothManager
directly.
Request for finding BLE
devices around the user. A request can be built using the StartBleScanRequest.Builder.
Use the parameters of the request to specify which data sources should be returned. Example
usage:
new StartBleScanRequest.Builder()
.setDataTypes(DataType.TYPE_HEART_RATE_BPM)
.setBleScanCallback(callback)
.build();
Nested Class Summary
| class | StartBleScanRequest.Builder | Builder used to create new DataSourceRequests. | |
Inherited Constant Summary
Field Summary
| public static final Creator<StartBleScanRequest> | CREATOR |
Public Method Summary
| List<DataType> |
getDataTypes()
Returns the list of data types that constrain the list of scanned devices.
|
| int |
getTimeoutSecs()
Returns the timeout for the scan, in seconds.
|
| String |
toString()
|
| void |
writeToParcel(Parcel parcel, int
flags)
|
Inherited Method Summary
Fields
public static final Creator<StartBleScanRequest> CREATOR
Public Methods
public List<DataType> getDataTypes ()
Returns the list of data types that constrain the list of scanned devices.
Returns
- The list of data types, empty if you're scanning all devices.
public int getTimeoutSecs ()
Returns the timeout for the scan, in seconds.