AndroidLoadControl class Null safety

Buffering and loading options for Android.

Constructors

AndroidLoadControl({Duration minBufferDuration = const Duration(seconds: 50), Duration maxBufferDuration = const Duration(seconds: 50), Duration bufferForPlaybackDuration = const Duration(milliseconds: 2500), Duration bufferForPlaybackAfterRebufferDuration = const Duration(seconds: 5), int? targetBufferBytes, bool prioritizeTimeOverSizeThresholds = false, Duration backBufferDuration = Duration.zero})

Properties

backBufferDuration Duration
(Android) The back buffer duration.
final
bufferForPlaybackAfterRebufferDuration Duration
(Android) The duration of audio that must be buffered before starting playback after a buffer depletion.
final
bufferForPlaybackDuration Duration
(Android) The duration of audio that must be buffered before starting playback after a user action.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
maxBufferDuration Duration
(Android) The maximum duration of audio that should be buffered ahead of the current position.
final
minBufferDuration Duration
(Android) The minimum duration of audio that should be buffered ahead of the current position.
final
prioritizeTimeOverSizeThresholds bool
(Android) Whether to prioritize buffer time constraints over buffer size constraints.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
targetBufferBytes int?
(Android) The target buffer size in bytes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited