DataItemAsset

  • 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.

public interface DataItemAsset implements Freezable < DataItemAsset >

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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: