From 7a02346d497e8f14a7dda47510b8ee8fdbb8dd70 Mon Sep 17 00:00:00 2001 From: gyumin Date: Thu, 4 Mar 2021 14:35:46 +0000 Subject: [PATCH] Recommend BasePlayer when implementing Player PiperOrigin-RevId: 360902971 --- .../src/main/java/com/google/android/exoplayer2/Player.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/Player.java b/library/common/src/main/java/com/google/android/exoplayer2/Player.java index f43c979135..4b49803460 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/Player.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/Player.java @@ -48,6 +48,11 @@ import java.util.List; * A media player interface defining traditional high-level functionality, such as the ability to * play, pause, seek and query properties of the currently playing media. * + *

This interface includes some convenience methods that can be implemented by calling other + * methods in the interface. {@link BasePlayer} implements these convenience methods so inheriting + * {@link BasePlayer} is recommended when implementing the interface so that only the minimal set of + * required methods can be implemented. + * *

Some important properties of media players that implement this interface are: * *