java.lang.Object |
↳ |
com.google.android.gms.fitness.request.DataUpdateListenerRegistrationRequest.Builder |
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
DataUpdateListenerRegistrationRequest.Builder
()
Public Methods
Builds the DataUpdateListenerRegistrationRequest
object from the builder.
Throws |
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.
Parameters |
dataSource |
DataSource
|
Throws |
NullPointerException |
if the dataSource is null
|
Sets the DataType
for which we want to listen for data updates.
Parameters |
dataType |
DataType
|
Throws |
NullPointerException |
if the dataType is null
|
Sets the PendingIntent
which will receive data update notification for updates.
Parameters |
pendingIntent |
PendingIntent
|
Throws |
NullPointerException |
if the pendingIntent is null
|