Commit 1a198b8a by Oliver Woodman

Minor cleanup (remove deprecated method, fix javadoc)

parent 9183525b
...@@ -141,14 +141,6 @@ public interface ExoPlayer { ...@@ -141,14 +141,6 @@ public interface ExoPlayer {
return new ExoPlayerImpl(rendererCount, DEFAULT_MIN_BUFFER_MS, DEFAULT_MIN_REBUFFER_MS); return new ExoPlayerImpl(rendererCount, DEFAULT_MIN_BUFFER_MS, DEFAULT_MIN_REBUFFER_MS);
} }
/**
* @deprecated Please use {@link #newInstance(int, int, int)}.
*/
@Deprecated
public static ExoPlayer newInstance(int rendererCount, int minRebufferMs) {
return new ExoPlayerImpl(rendererCount, DEFAULT_MIN_BUFFER_MS, minRebufferMs);
}
} }
/** /**
...@@ -160,7 +152,8 @@ public interface ExoPlayer { ...@@ -160,7 +152,8 @@ public interface ExoPlayer {
* {@link ExoPlayer#getPlaybackState()} changes. * {@link ExoPlayer#getPlaybackState()} changes.
* *
* @param playWhenReady Whether playback will proceed when ready. * @param playWhenReady Whether playback will proceed when ready.
* @param playbackState One of the {@code STATE} constants defined in this class. * @param playbackState One of the {@code STATE} constants defined in the {@link ExoPlayer}
* interface.
*/ */
void onPlayerStateChanged(boolean playWhenReady, int playbackState); void onPlayerStateChanged(boolean playWhenReady, int playbackState);
/** /**
...@@ -256,7 +249,7 @@ public interface ExoPlayer { ...@@ -256,7 +249,7 @@ public interface ExoPlayer {
/** /**
* Returns the current state of the player. * Returns the current state of the player.
* *
* @return One of the {@code STATE} constants defined in this class. * @return One of the {@code STATE} constants defined in this interface.
*/ */
public int getPlaybackState(); public int getPlaybackState();
......
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