Commit d24cec51 by gyumin Committed by marcbaechinger

Add missing default implementations to Player.Listener

PiperOrigin-RevId: 367238434
parent 61a5ca48
...@@ -928,7 +928,14 @@ public interface Player { ...@@ -928,7 +928,14 @@ public interface Player {
TextOutput, TextOutput,
MetadataOutput, MetadataOutput,
DeviceListener, DeviceListener,
EventListener {} EventListener {
@Override
default void onMetadata(Metadata metadata) {}
@Override
default void onCues(List<Cue> cues) {}
}
/** /**
* Playback state. One of {@link #STATE_IDLE}, {@link #STATE_BUFFERING}, {@link #STATE_READY} or * Playback state. One of {@link #STATE_IDLE}, {@link #STATE_BUFFERING}, {@link #STATE_READY} or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment