java.lang.Object | |
↳ | com.google.android.gms.wearable.PutDataRequest |
PutDataRequest is used to create new data items in the Android Wear network.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | WEAR_URI_SCHEME |
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a dataItem with the provided, complete, path.
| |||||||||||
Creates a PutDataRequest from an existing DataItem using the provided source.
| |||||||||||
Creates a
PutDataRequest with a randomly generated id prefixed with the provided
path. | |||||||||||
Returns an asset previously added with
putAsset(String, Asset) . | |||||||||||
An array of data stored at the specfied
Uri . | |||||||||||
Returns a
Uri for the pending data item. | |||||||||||
Adds an asset to the data item.
| |||||||||||
Removes a previoulsy added asset.
| |||||||||||
Sets the data in a data item.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() |
Creates a dataItem with the provided, complete, path.
Creates a PutDataRequest from an existing DataItem using the provided source.
Creates a PutDataRequest
with a randomly generated id prefixed with the provided
path.
An array of data stored at the specfied Uri
. PutDataMapRequest
may be used
to store structured data in the network.
true
if the asset exists in this data item.