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
Training
API Guides
Reference
Tools
Google Services
Samples
Results
Loading...
MessageEvent
Overview
Games
Location
Google+
Maps
Drive
Cast
Ads
Advertising ID
Wallet
Google Play Services
Setup
Accessing Google Play Services APIs
Authorizing with Google for REST APIs
Reference
Google Play In-app Billing
Overview
Version 3 API
Implementing the API
Reference
Version 2 API
Implementing the API
Subscriptions
Reference
Subscriptions
Security and Design
Testing In-app Billing
Administering In-app Billing
Purchase Status API
Version Notes
Google Cloud Messaging
Overview
Getting Started
Implementing GCM Client
Implementing GCM Server
CCS (XMPP)
HTTP
User Notifications
Advanced Topics
Migration
Reference
Google Play Distribution
Filters on Google Play
Multiple APK Support
APK Expansion Files
Application Licensing
Licensing Overview
Setting Up for Licensing
Adding Licensing to Your App
Licensing Reference
Android Backup Service
Register
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.