ThaPlaybackOptions class

Configuration options that influence playback resilience and buffering.

Constructors

ThaPlaybackOptions({int maxRetryCount = 3, Duration initialRetryDelay = const Duration(seconds: 1), Duration maxRetryDelay = const Duration(seconds: 10), bool autoRetry = true, Duration? rebufferTimeout})
const

Properties

autoRetry bool
Whether the native player should automatically retry after recoverable errors (HTTP 5xx, network timeouts, etc.).
final
hashCode int
The hash code for this object.
no setterinherited
initialRetryDelay Duration
Delay before the first retry attempt.
final
maxRetryCount int
Maximum automatic retry attempts before surfacing a failure. -1 indicates unlimited retries.
final
maxRetryDelay Duration
Maximum backoff delay between retries.
final
rebufferTimeout Duration?
Optional timeout to rebuffer before considering playback stalled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes this instance for the native platform layers.
toString() String
A string representation of this object.
inherited

Operators

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