Commit eb195eff by olly Committed by Oliver Woodman

Fix Javadoc references to deprecated EventListener

#minor-release

PiperOrigin-RevId: 372919342
parent 2ff4e5a6
...@@ -616,7 +616,7 @@ public interface ExoPlayer extends Player { ...@@ -616,7 +616,7 @@ public interface ExoPlayer extends Player {
/** /**
* Set a limit on the time a call to {@link ExoPlayer#setForegroundMode} can spend. If a call to * Set a limit on the time a call to {@link ExoPlayer#setForegroundMode} can spend. If a call to
* {@link ExoPlayer#setForegroundMode} takes more than {@code timeoutMs} milliseconds to * {@link ExoPlayer#setForegroundMode} takes more than {@code timeoutMs} milliseconds to
* complete, the player will raise an error via {@link Player.EventListener#onPlayerError}. * complete, the player will raise an error via {@link Player.Listener#onPlayerError}.
* *
* <p>This method is experimental, and will be renamed or removed in a future release. * <p>This method is experimental, and will be renamed or removed in a future release.
* *
...@@ -742,7 +742,7 @@ public interface ExoPlayer extends Player { ...@@ -742,7 +742,7 @@ public interface ExoPlayer extends Player {
* *
* <p>If a call to {@link #release} or {@link #setForegroundMode} takes more than {@code * <p>If a call to {@link #release} or {@link #setForegroundMode} takes more than {@code
* timeoutMs} to complete, the player will report an error via {@link * timeoutMs} to complete, the player will report an error via {@link
* Player.EventListener#onPlayerError}. * Player.Listener#onPlayerError}.
* *
* @param releaseTimeoutMs The release timeout, in milliseconds. * @param releaseTimeoutMs The release timeout, in milliseconds.
* @return This builder. * @return This builder.
...@@ -759,7 +759,7 @@ public interface ExoPlayer extends Player { ...@@ -759,7 +759,7 @@ public interface ExoPlayer extends Player {
* *
* <p>This means the player will pause at the end of each window in the current {@link * <p>This means the player will pause at the end of each window in the current {@link
* #getCurrentTimeline() timeline}. Listeners will be informed by a call to {@link * #getCurrentTimeline() timeline}. Listeners will be informed by a call to {@link
* Player.EventListener#onPlayWhenReadyChanged(boolean, int)} with the reason {@link * Player.Listener#onPlayWhenReadyChanged(boolean, int)} with the reason {@link
* Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM} when this happens. * Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM} when this happens.
* *
* @param pauseAtEndOfMediaItems Whether to pause playback at the end of each media item. * @param pauseAtEndOfMediaItems Whether to pause playback at the end of each media item.
...@@ -1060,7 +1060,7 @@ public interface ExoPlayer extends Player { ...@@ -1060,7 +1060,7 @@ public interface ExoPlayer extends Player {
* *
* <p>This means the player will pause at the end of each window in the current {@link * <p>This means the player will pause at the end of each window in the current {@link
* #getCurrentTimeline() timeline}. Listeners will be informed by a call to {@link * #getCurrentTimeline() timeline}. Listeners will be informed by a call to {@link
* Player.EventListener#onPlayWhenReadyChanged(boolean, int)} with the reason {@link * Player.Listener#onPlayWhenReadyChanged(boolean, int)} with the reason {@link
* Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM} when this happens. * Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM} when this happens.
* *
* @param pauseAtEndOfMediaItems Whether to pause playback at the end of each media item. * @param pauseAtEndOfMediaItems Whether to pause playback at the end of each media item.
......
...@@ -269,7 +269,7 @@ public class SimpleExoPlayer extends BasePlayer ...@@ -269,7 +269,7 @@ public class SimpleExoPlayer extends BasePlayer
/** /**
* Set a limit on the time a call to {@link #setForegroundMode} can spend. If a call to {@link * Set a limit on the time a call to {@link #setForegroundMode} can spend. If a call to {@link
* #setForegroundMode} takes more than {@code timeoutMs} milliseconds to complete, the player * #setForegroundMode} takes more than {@code timeoutMs} milliseconds to complete, the player
* will raise an error via {@link Player.EventListener#onPlayerError}. * will raise an error via {@link Player.Listener#onPlayerError}.
* *
* <p>This method is experimental, and will be renamed or removed in a future release. * <p>This method is experimental, and will be renamed or removed in a future release.
* *
...@@ -500,7 +500,7 @@ public class SimpleExoPlayer extends BasePlayer ...@@ -500,7 +500,7 @@ public class SimpleExoPlayer extends BasePlayer
* *
* <p>If a call to {@link #release} or {@link #setForegroundMode} takes more than {@code * <p>If a call to {@link #release} or {@link #setForegroundMode} takes more than {@code
* timeoutMs} to complete, the player will report an error via {@link * timeoutMs} to complete, the player will report an error via {@link
* Player.EventListener#onPlayerError}. * Player.Listener#onPlayerError}.
* *
* @param releaseTimeoutMs The release timeout, in milliseconds. * @param releaseTimeoutMs The release timeout, in milliseconds.
* @return This builder. * @return This builder.
...@@ -517,7 +517,7 @@ public class SimpleExoPlayer extends BasePlayer ...@@ -517,7 +517,7 @@ public class SimpleExoPlayer extends BasePlayer
* *
* <p>If detaching a surface or replacing a surface takes more than {@code * <p>If detaching a surface or replacing a surface takes more than {@code
* detachSurfaceTimeoutMs} to complete, the player will report an error via {@link * detachSurfaceTimeoutMs} to complete, the player will report an error via {@link
* Player.EventListener#onPlayerError}. * Player.Listener#onPlayerError}.
* *
* @param detachSurfaceTimeoutMs The timeout for detaching a surface, in milliseconds. * @param detachSurfaceTimeoutMs The timeout for detaching a surface, in milliseconds.
* @return This builder. * @return This builder.
...@@ -534,7 +534,7 @@ public class SimpleExoPlayer extends BasePlayer ...@@ -534,7 +534,7 @@ public class SimpleExoPlayer extends BasePlayer
* *
* <p>This means the player will pause at the end of each window in the current {@link * <p>This means the player will pause at the end of each window in the current {@link
* #getCurrentTimeline() timeline}. Listeners will be informed by a call to {@link * #getCurrentTimeline() timeline}. Listeners will be informed by a call to {@link
* Player.EventListener#onPlayWhenReadyChanged(boolean, int)} with the reason {@link * Player.Listener#onPlayWhenReadyChanged(boolean, int)} with the reason {@link
* Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM} when this happens. * Player#PLAY_WHEN_READY_CHANGE_REASON_END_OF_MEDIA_ITEM} when this happens.
* *
* @param pauseAtEndOfMediaItems Whether to pause playback at the end of each media item. * @param pauseAtEndOfMediaItems Whether to pause playback at the end of each media item.
......
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