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.