| java.lang.Object | |
| ↳ | com.google.android.gms.fitness.request.DataUpdateListenerRegistrationRequest.Builder |
Builder for creating DataUpdateListenerRegistrationRequest.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds the
DataUpdateListenerRegistrationRequest object from the builder. | |||||||||||
Sets the
DataSource for which we want to listen for data updates. | |||||||||||
Sets the
DataType for which we want to listen for data updates. | |||||||||||
Sets the
PendingIntent which will receive data update notification for updates. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Builds the DataUpdateListenerRegistrationRequest object from the builder.
| NullPointerException | if the pendingIntent is null |
|---|---|
| IllegalStateException | if both dataSource and dataType are null |
Sets the DataSource for which we want to listen for data updates.
| NullPointerException | if the dataSource is null |
|---|
Sets the DataType for which we want to listen for data updates.
| NullPointerException | if the dataType is null |
|---|
Sets the PendingIntent which will receive data update notification for updates.
| NullPointerException | if the pendingIntent is null |
|---|