java.lang.Object | |
↳ | com.google.android.gms.fitness.request.StartBleScanRequest |
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(DataTypes.HEART_RATE_BPM) .setBleScanCallback(callback) .build();
Nested Classes | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
StartBleScanRequest.Builder | Builder used to create new DataSourceRequests. |
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the list of data types that constrain the list of scanned devices.
| |||||||||||
Returns the timeout for the scan, in seconds.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() |
Returns the list of data types that constrain the list of scanned devices.
Returns the timeout for the scan, in seconds.