Google is committed to advancing racial equity for Black communities. See how.

MessageApi.MessageListener

public static interface MessageApi.MessageListener
Known Indirect Subclasses

This interface is deprecated.
Use MessageClient.OnMessageReceivedListener.

Used with MessageApi.addListener(GoogleApiClient, MessageApi.MessageListener) to receive message events.

Callers wishing to be notified of events in the background should use WearableListenerService.

Public Method Summary

abstract void
onMessageReceived(MessageEvent messageEvent)
Notification that a message has been received.

Public Methods

public abstract void onMessageReceived (MessageEvent messageEvent)

Notification that a message has been received.