public class DataMapItem extends Object
Creates a new dataItem-like object containing structured and serializable data.
Public Method Summary
static DataMapItem | |
DataMap |
getDataMap()
Returns the
DataMap .
|
Uri |
getUri()
Returns the underlying dataItem's Uri.
|
Inherited Method Summary
Public Methods
public static DataMapItem fromDataItem (DataItem dataItem)
Provides a DataMapItem
wrapping a dataItem.
A DataItem
passed to this method does not need to be frozen (Freezable.freeze()
),
this method freezes the object.
Parameters
dataItem | the base for the wrapped DataMapItem .
dataItem should not be modified after wrapping it. |
---|
public Uri getUri ()
Returns the underlying dataItem's Uri.