MessageEvent | 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...
public interface

# MessageEvent

com.google.android.gms.wearable.MessageEvent

## Class Overview

Information about a message received by a listener.

## Summary

Public Methods
abstract byte[] | getData()
abstract String | getPath()
abstract int | getRequestId()
abstract String | getSourceNodeId()

## Public Methods

#### public abstract byte[] getData ()

##### Returns

- the data passed by the message.

#### public abstract String getPath ()

##### Returns

- the path the message is being delivered to

#### public abstract int getRequestId ()

##### Returns

- the request id of the message, generated by the sender

#### public abstract String getSourceNodeId ()

##### Returns

- the node id of the sender.