Summary: Methods | Inherited Methods | [Expand All]
public class

# DataMapItem

extends Object

java.lang.Object
↳ | com.google.android.gms.wearable.DataMapItem

## Class Overview

Creates a new dataItem-like object containing structured and serializable data.

## Summary

Public Methods
static DataMapItem | fromDataItem(DataItem dataItem) Provides a `DataMapItem` wrapping a dataItem.
DataMap | getDataMap()
Uri | getUri()

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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 (`freeze()`), this method freezes the object.

##### Parameters

dataItem | the base for the wrapped `DataMapItem`. `dataItem` should not be modified after wrapping it.

#### public DataMap getDataMap ()

#### public Uri getUri ()