IMovaSttSubtitleStore class abstract

Caches a batch-transcribed cue list on disk, keyed by source, so a VOD only ever gets transcribed once regardless of how many times it's re-watched.

A distinct concept from IMovaStt's live feed/cues loop: this store holds the finished result of a one-shot batch transcription (see doc/notes/2026-08-04-stt-recognizer-decision.md's "批量预转写" section), not a running recognizer.

把一次性批量转写出的字幕列表缓存到磁盘,按来源做 key,使同一个点播视频 不管重播多少次都只转写一次。

与 IMovaStt 那套 feed/cues 实时循环是不同的概念:本存储持有的是 一次性批量转写的完成结果(见 doc/notes/2026-08-04-stt-recognizer-decision.md 的"批量预转写"一节),而不是 一个正在运行的识别器。

Implementers

Constructors

IMovaSttSubtitleStore()

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

load(String sourceKey) → Future<List<MovaSttCue>?>
Returns the cached cues for sourceKey, or null if nothing is cached.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String sourceKey) → Future<void>
Deletes the cached cues for sourceKey, if any.
save(String sourceKey, List<MovaSttCue> cues) → Future<void>
Caches cues under sourceKey, overwriting any previous entry.
toString() → String
A string representation of this object.
inherited

Operators

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