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 | URI scheme to use for Wear URIs. |
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
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 | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
From interface
android.os.Parcelable
|
URI scheme to use for Wear URIs. See DataApi
for details of the Wear URI format.
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.