IMovaStallPolicy class abstract

Turns a stream of "stalled right now" observations into completed stall records. Mirrors IMovaAbrPolicy: mova ships a default, hosts can inject.

把一连串"此刻是否卡住"的观测,转换成一条条"已结束的卡顿"记录。 与 IMovaAbrPolicy 同一范式:mova 给默认实现,宿主可注入替换。

Implementers

Constructors

IMovaStallPolicy()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
onStall(bool stalled, DateTime at) → MovaStall?
Feeds one observation; returns the finished stall when stalled just fell back to false, otherwise null.
reset() → void
Drops accumulated state (new source / quality switch).
toString() → String
A string representation of this object.
inherited

Operators

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