Commit 21cfd62c by ibaker Committed by Oliver Woodman

Update ExoPlayer.Builder#build() to return ExoPlayer (instead of SEP)

Users who need a (deprecated) SimpleExoPlayer instance should use
(the also deprecated) SimpleExoPlayer.Builder.

PiperOrigin-RevId: 403108197
parent 746ad2e6
...@@ -352,7 +352,7 @@ public interface ExoPlayer extends Player { ...@@ -352,7 +352,7 @@ public interface ExoPlayer extends Player {
} }
/** /**
* A builder for {@link SimpleExoPlayer} instances. * A builder for {@link ExoPlayer} instances.
* *
* <p>See {@link #Builder(Context)} for the list of default values. * <p>See {@link #Builder(Context)} for the list of default values.
*/ */
...@@ -818,11 +818,11 @@ public interface ExoPlayer extends Player { ...@@ -818,11 +818,11 @@ public interface ExoPlayer extends Player {
} }
/** /**
* Builds a {@link SimpleExoPlayer} instance. * Builds an {@link ExoPlayer} instance.
* *
* @throws IllegalStateException If this method has already been called. * @throws IllegalStateException If this method has already been called.
*/ */
public SimpleExoPlayer build() { public ExoPlayer build() {
return wrappedBuilder.build(); return wrappedBuilder.build();
} }
} }
......
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