DataApi.DataItemResult | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Methods | Inherited Methods | [Expand All]
public static interface

# DataApi.DataItemResult

implements Result

com.google.android.gms.wearable.DataApi.DataItemResult

## Class Overview

Contains a single data item.

## Summary

Public Methods
abstract DataItem | getDataItem()

[Expand] Inherited Methods
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus()

## Public Methods

#### public abstract DataItem getDataItem ()

##### Returns

- a data item, or null if the item does not exit.