Page Summary
-
DataItemAsset is a reference to an asset stored in a data item.
-
It is used to fetch file descriptors using DataApi.getFdForAsset.
-
Key methods include getDataItemKey() to get the identifier within a DataItem and getId() for the Android Wear-wide unique identifier.
A reference to an asset stored in a data item. Used to fetch file descriptors using
DataApi.getFdForAsset(GoogleApiClient, DataItemAsset).
Public Method Summary
| abstract String |
getDataItemKey()
Returns the identifier used to address this asset in the context of an existing
DataItem.
|
| abstract String |
getId()
Returns the Android Wear-wide unique identifier for a particular asset.
|
Inherited Method Summary
Public Methods
public abstract String getDataItemKey ()
Returns the identifier used to address this asset in the context of an existing
DataItem.
public abstract String getId ()
Returns the Android Wear-wide unique identifier for a particular asset.