mirror of
https://github.com/androidx/media.git
synced 2025-04-29 22:36:54 +08:00
Stabilize the ExoPlayer.Builder.setSeekForward/BackIncrementMs
APIs
The equivalent getters are already stable on `Player`. Issue: androidx/media#2286 PiperOrigin-RevId: 752686185
This commit is contained in:
parent
5775abd7e3
commit
49064c4b82
2
api.txt
2
api.txt
@ -1387,6 +1387,8 @@ package androidx.media3.exoplayer {
|
||||
method public androidx.media3.exoplayer.ExoPlayer.Builder setAudioAttributes(androidx.media3.common.AudioAttributes, boolean);
|
||||
method public androidx.media3.exoplayer.ExoPlayer.Builder setHandleAudioBecomingNoisy(boolean);
|
||||
method public androidx.media3.exoplayer.ExoPlayer.Builder setMediaSourceFactory(androidx.media3.exoplayer.source.MediaSource.Factory);
|
||||
method public androidx.media3.exoplayer.ExoPlayer.Builder setSeekBackIncrementMs(@IntRange(from=1) long);
|
||||
method public androidx.media3.exoplayer.ExoPlayer.Builder setSeekForwardIncrementMs(@IntRange(from=1) long);
|
||||
method public androidx.media3.exoplayer.ExoPlayer.Builder setWakeMode(@androidx.media3.common.C.WakeMode int);
|
||||
}
|
||||
|
||||
|
@ -855,7 +855,6 @@ public interface ExoPlayer extends Player {
|
||||
* @throws IllegalStateException If {@link #build()} has already been called.
|
||||
*/
|
||||
@CanIgnoreReturnValue
|
||||
@UnstableApi
|
||||
public Builder setSeekBackIncrementMs(@IntRange(from = 1) long seekBackIncrementMs) {
|
||||
checkArgument(seekBackIncrementMs > 0);
|
||||
checkState(!buildCalled);
|
||||
@ -872,7 +871,6 @@ public interface ExoPlayer extends Player {
|
||||
* @throws IllegalStateException If {@link #build()} has already been called.
|
||||
*/
|
||||
@CanIgnoreReturnValue
|
||||
@UnstableApi
|
||||
public Builder setSeekForwardIncrementMs(@IntRange(from = 1) long seekForwardIncrementMs) {
|
||||
checkArgument(seekForwardIncrementMs > 0);
|
||||
checkState(!buildCalled);
|
||||
|
Loading…
x
Reference in New Issue
Block a user