Add missing javadoc to new ExoPlayer.Builder constructors
Should have been part of <unknown commit> #minor-release PiperOrigin-RevId: 405880982
This commit is contained in:
parent
9a49a9ccda
commit
d39ffa5a34
@ -469,11 +469,31 @@ public interface ExoPlayer extends Player {
|
|||||||
new DefaultMediaSourceFactory(context, new DefaultExtractorsFactory()));
|
new DefaultMediaSourceFactory(context, new DefaultExtractorsFactory()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a builder with a custom {@link MediaSourceFactory}.
|
||||||
|
*
|
||||||
|
* <p>See {@link #Builder(Context)} for a list of default values.
|
||||||
|
*
|
||||||
|
* @param context A {@link Context}.
|
||||||
|
* @param mediaSourceFactory A factory for creating a {@link MediaSource} from a {@link
|
||||||
|
* MediaItem}.
|
||||||
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public Builder(Context context, MediaSourceFactory mediaSourceFactory) {
|
public Builder(Context context, MediaSourceFactory mediaSourceFactory) {
|
||||||
this(context, new DefaultRenderersFactory(context), mediaSourceFactory);
|
this(context, new DefaultRenderersFactory(context), mediaSourceFactory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a builder with a custom {@link RenderersFactory} and {@link MediaSourceFactory}.
|
||||||
|
*
|
||||||
|
* <p>See {@link #Builder(Context)} for a list of default values.
|
||||||
|
*
|
||||||
|
* @param context A {@link Context}.
|
||||||
|
* @param renderersFactory A factory for creating {@link Renderer Renderers} to be used by the
|
||||||
|
* player.
|
||||||
|
* @param mediaSourceFactory A factory for creating a {@link MediaSource} from a {@link
|
||||||
|
* MediaItem}.
|
||||||
|
*/
|
||||||
@UnstableApi
|
@UnstableApi
|
||||||
public Builder(
|
public Builder(
|
||||||
Context context, RenderersFactory renderersFactory, MediaSourceFactory mediaSourceFactory) {
|
Context context, RenderersFactory renderersFactory, MediaSourceFactory mediaSourceFactory) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user