Package com.naver.ads.video.player
Class BufferDurationsMs
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BufferDurationsMs implements Parcelable
Data class for configuring buffering durations in a video player. Used in ExoPlayer's LoadControl settings, providing various buffer parameters for optimizing buffering performance. minBufferMs cannot be less than bufferForPlaybackAfterRebufferMs
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerbackBufferDurationMillisprivate final IntegerminBufferMsprivate final IntegermaxBufferMsprivate final IntegerbufferForPlaybackMsprivate final IntegerbufferForPlaybackAfterRebufferMs
-
Method Summary
Modifier and Type Method Description final IntegergetBackBufferDurationMillis()Duration of the back buffer (in milliseconds). final IntegergetMinBufferMs()Minimum buffer duration (in milliseconds). final IntegergetMaxBufferMs()Maximum buffer duration (in milliseconds). final IntegergetBufferForPlaybackMs()Buffer duration for starting playback (in milliseconds). final IntegergetBufferForPlaybackAfterRebufferMs()-
-
Method Detail
-
getBackBufferDurationMillis
final Integer getBackBufferDurationMillis()
Duration of the back buffer (in milliseconds). Time to retain already played media data in memory.
-
getMinBufferMs
final Integer getMinBufferMs()
Minimum buffer duration (in milliseconds). Minimum amount of data to buffer before starting playback.
-
getMaxBufferMs
final Integer getMaxBufferMs()
Maximum buffer duration (in milliseconds). Maximum amount of data that can be buffered.
-
getBufferForPlaybackMs
final Integer getBufferForPlaybackMs()
Buffer duration for starting playback (in milliseconds). Minimum buffer required to begin playback.
-
getBufferForPlaybackAfterRebufferMs
final Integer getBufferForPlaybackAfterRebufferMs()
-
-
-
-