Interface PlayerMessage.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.