Package com.google.android.exoplayer2
Class SimpleExoPlayer.Builder
- java.lang.Object
-
- com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
- Enclosing class:
- SimpleExoPlayer
@Deprecated public static final class SimpleExoPlayer.Builder extends Object
Deprecated.UseExoPlayer.Builder
instead.
-
-
Constructor Summary
Constructors Constructor Description Builder(Context context)
Deprecated.UseBuilder(Context)
instead.Builder(Context context, ExtractorsFactory extractorsFactory)
Deprecated.Builder(Context context, RenderersFactory renderersFactory)
Deprecated.UseBuilder(Context, RenderersFactory)
instead.Builder(Context context, RenderersFactory renderersFactory, ExtractorsFactory extractorsFactory)
Deprecated.Builder(Context context, RenderersFactory renderersFactory, TrackSelector trackSelector, MediaSource.Factory mediaSourceFactory, LoadControl loadControl, BandwidthMeter bandwidthMeter, AnalyticsCollector analyticsCollector)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
@Deprecated public Builder(Context context)
Deprecated.UseBuilder(Context)
instead.
-
Builder
@Deprecated public Builder(Context context, RenderersFactory renderersFactory)
Deprecated.UseBuilder(Context, RenderersFactory)
instead.
-
Builder
@Deprecated public Builder(Context context, ExtractorsFactory extractorsFactory)
Deprecated.
-
Builder
@Deprecated public Builder(Context context, RenderersFactory renderersFactory, ExtractorsFactory extractorsFactory)
Deprecated.
-
Builder
@Deprecated public Builder(Context context, RenderersFactory renderersFactory, TrackSelector trackSelector, MediaSource.Factory mediaSourceFactory, LoadControl loadControl, BandwidthMeter bandwidthMeter, AnalyticsCollector analyticsCollector)
-
-
Method Detail
-
experimentalSetForegroundModeTimeoutMs
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder experimentalSetForegroundModeTimeoutMs(long timeoutMs)
Deprecated.
-
setTrackSelector
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setTrackSelector(TrackSelector trackSelector)
Deprecated.UseExoPlayer.Builder.setTrackSelector(TrackSelector)
instead.
-
setMediaSourceFactory
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setMediaSourceFactory(MediaSource.Factory mediaSourceFactory)
Deprecated.
-
setLoadControl
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setLoadControl(LoadControl loadControl)
Deprecated.UseExoPlayer.Builder.setLoadControl(LoadControl)
instead.
-
setBandwidthMeter
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setBandwidthMeter(BandwidthMeter bandwidthMeter)
Deprecated.UseExoPlayer.Builder.setBandwidthMeter(BandwidthMeter)
instead.
-
setLooper
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setLooper(Looper looper)
Deprecated.UseExoPlayer.Builder.setLooper(Looper)
instead.
-
setAnalyticsCollector
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setAnalyticsCollector(AnalyticsCollector analyticsCollector)
Deprecated.
-
setPriorityTaskManager
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setPriorityTaskManager(@Nullable PriorityTaskManager priorityTaskManager)
Deprecated.
-
setAudioAttributes
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus)
Deprecated.
-
setWakeMode
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setWakeMode(@WakeMode @com.google.android.exoplayer2.C.WakeMode int wakeMode)
Deprecated.UseExoPlayer.Builder.setWakeMode(int)
instead.
-
setHandleAudioBecomingNoisy
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setHandleAudioBecomingNoisy(boolean handleAudioBecomingNoisy)
Deprecated.
-
setSkipSilenceEnabled
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setSkipSilenceEnabled(boolean skipSilenceEnabled)
Deprecated.UseExoPlayer.Builder.setSkipSilenceEnabled(boolean)
instead.
-
setVideoScalingMode
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setVideoScalingMode(@VideoScalingMode @com.google.android.exoplayer2.C.VideoScalingMode int videoScalingMode)
Deprecated.UseExoPlayer.Builder.setVideoScalingMode(int)
instead.
-
setVideoChangeFrameRateStrategy
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setVideoChangeFrameRateStrategy(@VideoChangeFrameRateStrategy @com.google.android.exoplayer2.C.VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)
Deprecated.
-
setUseLazyPreparation
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setUseLazyPreparation(boolean useLazyPreparation)
Deprecated.UseExoPlayer.Builder.setUseLazyPreparation(boolean)
instead.
-
setSeekParameters
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setSeekParameters(SeekParameters seekParameters)
Deprecated.UseExoPlayer.Builder.setSeekParameters(SeekParameters)
instead.
-
setSeekBackIncrementMs
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setSeekBackIncrementMs(@IntRange(from=1L) long seekBackIncrementMs)
Deprecated.UseExoPlayer.Builder.setSeekBackIncrementMs(long)
instead.
-
setSeekForwardIncrementMs
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setSeekForwardIncrementMs(@IntRange(from=1L) long seekForwardIncrementMs)
Deprecated.UseExoPlayer.Builder.setSeekForwardIncrementMs(long)
instead.
-
setReleaseTimeoutMs
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setReleaseTimeoutMs(long releaseTimeoutMs)
Deprecated.UseExoPlayer.Builder.setReleaseTimeoutMs(long)
instead.
-
setDetachSurfaceTimeoutMs
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setDetachSurfaceTimeoutMs(long detachSurfaceTimeoutMs)
Deprecated.UseExoPlayer.Builder.setDetachSurfaceTimeoutMs(long)
instead.
-
setPauseAtEndOfMediaItems
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setPauseAtEndOfMediaItems(boolean pauseAtEndOfMediaItems)
Deprecated.UseExoPlayer.Builder.setPauseAtEndOfMediaItems(boolean)
instead.
-
setLivePlaybackSpeedControl
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setLivePlaybackSpeedControl(LivePlaybackSpeedControl livePlaybackSpeedControl)
Deprecated.
-
setClock
@CanIgnoreReturnValue @Deprecated public SimpleExoPlayer.Builder setClock(Clock clock)
Deprecated.UseExoPlayer.Builder.setClock(Clock)
instead.
-
build
@Deprecated public SimpleExoPlayer build()
Deprecated.UseExoPlayer.Builder.build()
instead.
-
-