com.google.android.gms.wearable.DataEvent |
Data interface for data events.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_CHANGED | Indicates that the enclosing DataEvent was triggered by a data item being added or changed. | |||||||||
int | TYPE_DELETED | Indicates that the enclosing DataEvent was triggered by a data item being deleted. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the data item modified in this event.
| |||||||||||
Returns the type of event this is.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Indicates that the enclosing DataEvent was triggered by a data item being added or changed.
Indicates that the enclosing DataEvent was triggered by a data item being deleted.
Returns the data item modified in this event. An event of TYPE_DELETED
will only
have its URI populated.
Returns | |
---|---|
DataItem |
Returns the type of event this is. One of TYPE_CHANGED
, TYPE_DELETED
.
Returns | |
---|---|
int |