# MessageEvent

public interface **MessageEvent** Information about a message received by a `https://developers.google.com/android/reference/com/google/android/gms/wearable/MessageApi.MessageListener`.

### Public Method Summary

|---|---|
| abstract byte\[\] | [getData](https://developers.google.com/android/reference/com/google/android/gms/wearable/MessageEvent#getData())() Returns the data passed by the message. |
| abstract [String](https://developer.android.com/reference/java/lang/String.html) | [getPath](https://developers.google.com/android/reference/com/google/android/gms/wearable/MessageEvent#getPath())() Returns the path the message is being delivered to |
| abstract int | [getRequestId](https://developers.google.com/android/reference/com/google/android/gms/wearable/MessageEvent#getRequestId())() Returns the request id of the message, generated by the sender |
| abstract [String](https://developer.android.com/reference/java/lang/String.html) | [getSourceNodeId](https://developers.google.com/android/reference/com/google/android/gms/wearable/MessageEvent#getSourceNodeId())() Returns the node ID of the sender. |

## Public Methods

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

Returns the data passed by the message.

#### public abstract [String](https://developer.android.com/reference/java/lang/String.html) **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](https://developer.android.com/reference/java/lang/String.html) **getSourceNodeId** ()

Returns the node ID of the sender.