public static interface ExoPlayer.ExoPlayerComponent
ExoPlayer that can receive messages on the playback thread.
Messages can be delivered to a component via ExoPlayer.sendMessages(com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage...) and
ExoPlayer.blockingSendMessages(com.google.android.exoplayer2.ExoPlayer.ExoPlayerMessage...).
| Modifier and Type | Method and Description |
|---|---|
void |
handleMessage(int messageType,
java.lang.Object message)
Handles a message delivered to the component.
|
void handleMessage(int messageType,
java.lang.Object message)
throws ExoPlaybackException
messageType - The message type.message - The message.ExoPlaybackException - If an error occurred whilst handling the message.