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, MediaSourceFactory 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, MediaSourceFactory mediaSourceFactory, LoadControl loadControl, BandwidthMeter bandwidthMeter, AnalyticsCollector analyticsCollector)
-
-
Method Detail
-
experimentalSetForegroundModeTimeoutMs
@Deprecated public SimpleExoPlayer.Builder experimentalSetForegroundModeTimeoutMs(long timeoutMs)
Deprecated.
-
setTrackSelector
@Deprecated public SimpleExoPlayer.Builder setTrackSelector(TrackSelector trackSelector)
Deprecated.UseExoPlayer.Builder.setTrackSelector(TrackSelector)
instead.
-
setMediaSourceFactory
@Deprecated public SimpleExoPlayer.Builder setMediaSourceFactory(MediaSourceFactory mediaSourceFactory)
Deprecated.
-
setLoadControl
@Deprecated public SimpleExoPlayer.Builder setLoadControl(LoadControl loadControl)
Deprecated.UseExoPlayer.Builder.setLoadControl(LoadControl)
instead.
-
setBandwidthMeter
@Deprecated public SimpleExoPlayer.Builder setBandwidthMeter(BandwidthMeter bandwidthMeter)
Deprecated.UseExoPlayer.Builder.setBandwidthMeter(BandwidthMeter)
instead.
-
setLooper
@Deprecated public SimpleExoPlayer.Builder setLooper(Looper looper)
Deprecated.UseExoPlayer.Builder.setLooper(Looper)
instead.
-
setAnalyticsCollector
@Deprecated public SimpleExoPlayer.Builder setAnalyticsCollector(AnalyticsCollector analyticsCollector)
Deprecated.
-
setPriorityTaskManager
@Deprecated public SimpleExoPlayer.Builder setPriorityTaskManager(@Nullable PriorityTaskManager priorityTaskManager)
Deprecated.
-
setAudioAttributes
@Deprecated public SimpleExoPlayer.Builder setAudioAttributes(AudioAttributes audioAttributes, boolean handleAudioFocus)
Deprecated.
-
setWakeMode
@Deprecated public SimpleExoPlayer.Builder setWakeMode(@WakeMode @com.google.android.exoplayer2.C.WakeMode int wakeMode)
Deprecated.UseExoPlayer.Builder.setWakeMode(int)
instead.
-
setHandleAudioBecomingNoisy
@Deprecated public SimpleExoPlayer.Builder setHandleAudioBecomingNoisy(boolean handleAudioBecomingNoisy)
Deprecated.
-
setSkipSilenceEnabled
@Deprecated public SimpleExoPlayer.Builder setSkipSilenceEnabled(boolean skipSilenceEnabled)
Deprecated.UseExoPlayer.Builder.setSkipSilenceEnabled(boolean)
instead.
-
setVideoScalingMode
@Deprecated public SimpleExoPlayer.Builder setVideoScalingMode(@VideoScalingMode int videoScalingMode)
Deprecated.UseExoPlayer.Builder.setVideoScalingMode(int)
instead.
-
setVideoChangeFrameRateStrategy
@Deprecated public SimpleExoPlayer.Builder setVideoChangeFrameRateStrategy(@VideoChangeFrameRateStrategy int videoChangeFrameRateStrategy)
Deprecated.
-
setUseLazyPreparation
@Deprecated public SimpleExoPlayer.Builder setUseLazyPreparation(boolean useLazyPreparation)
Deprecated.UseExoPlayer.Builder.setUseLazyPreparation(boolean)
instead.
-
setSeekParameters
@Deprecated public SimpleExoPlayer.Builder setSeekParameters(SeekParameters seekParameters)
Deprecated.UseExoPlayer.Builder.setSeekParameters(SeekParameters)
instead.
-
setSeekBackIncrementMs
@Deprecated public SimpleExoPlayer.Builder setSeekBackIncrementMs(@IntRange(from=1L) long seekBackIncrementMs)
Deprecated.UseExoPlayer.Builder.setSeekBackIncrementMs(long)
instead.
-
setSeekForwardIncrementMs
@Deprecated public SimpleExoPlayer.Builder setSeekForwardIncrementMs(@IntRange(from=1L) long seekForwardIncrementMs)
Deprecated.UseExoPlayer.Builder.setSeekForwardIncrementMs(long)
instead.
-
setReleaseTimeoutMs
@Deprecated public SimpleExoPlayer.Builder setReleaseTimeoutMs(long releaseTimeoutMs)
Deprecated.UseExoPlayer.Builder.setReleaseTimeoutMs(long)
instead.
-
setDetachSurfaceTimeoutMs
@Deprecated public SimpleExoPlayer.Builder setDetachSurfaceTimeoutMs(long detachSurfaceTimeoutMs)
Deprecated.UseExoPlayer.Builder.setDetachSurfaceTimeoutMs(long)
instead.
-
setPauseAtEndOfMediaItems
@Deprecated public SimpleExoPlayer.Builder setPauseAtEndOfMediaItems(boolean pauseAtEndOfMediaItems)
Deprecated.UseExoPlayer.Builder.setPauseAtEndOfMediaItems(boolean)
instead.
-
setLivePlaybackSpeedControl
@Deprecated public SimpleExoPlayer.Builder setLivePlaybackSpeedControl(LivePlaybackSpeedControl livePlaybackSpeedControl)
Deprecated.
-
setClock
@Deprecated public SimpleExoPlayer.Builder setClock(Clock clock)
Deprecated.UseExoPlayer.Builder.setClock(Clock)
instead.
-
build
@Deprecated public SimpleExoPlayer build()
Deprecated.UseExoPlayer.Builder.build()
instead.
-
-