Package com.google.android.exoplayer2
Interface PlayerMessage.Target
-
- All Known Subinterfaces:
Renderer
- All Known Implementing Classes:
ActionSchedule.PlayerTarget
,BaseRenderer
,CameraMotionRenderer
,DecoderAudioRenderer
,DecoderVideoRenderer
,FakeAudioRenderer
,FakeMediaClockRenderer
,FakeRenderer
,FakeVideoRenderer
,FfmpegAudioRenderer
,LibflacAudioRenderer
,Libgav1VideoRenderer
,LibopusAudioRenderer
,LibvpxVideoRenderer
,MediaCodecAudioRenderer
,MediaCodecRenderer
,MediaCodecVideoRenderer
,MetadataRenderer
,NoSampleRenderer
,TextRenderer
- Enclosing class:
- PlayerMessage
public static interface PlayerMessage.Target
A target for messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleMessage(@com.google.android.exoplayer2.Renderer.MessageType int messageType, Object message)
Handles a message delivered to the target.
-
-
-
Method Detail
-
handleMessage
void handleMessage(@com.google.android.exoplayer2.Renderer.MessageType int messageType, @Nullable Object message) throws ExoPlaybackException
Handles a message delivered to the target.- Parameters:
messageType
- The message type.message
- The message payload.- Throws:
ExoPlaybackException
- If an error occurred whilst handling the message. Should only be thrown by targets that handle messages on the playback thread.
-
-