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