public static interface PlayerMessage.Target
| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(int messageType,
java.lang.Object payload)
Handles a message delivered to the target.
|
void handleMessage(int messageType,
@Nullable
java.lang.Object payload)
throws ExoPlaybackException
messageType - The message type.payload - The message payload.ExoPlaybackException - If an error occurred whilst handling the message. Should only be
thrown by targets that handle messages on the playback thread.