IMovaPreviewApi class abstract
The scrub-preview capability surface exposed on IMovaApi.preview.
UI components only ever call requestAt/peekAt and listen to thumbs; all policy (debounce, bucketing, network, caching, source order) lives behind this abstraction in the core layer.
挂在 IMovaApi.preview 上的拖动预览能力面。
UI 组件只会调用 requestAt/peekAt 并监听 thumbs;所有策略(防抖、 桶对齐、网络、缓存、来源顺序)都藏在该抽象之后的 core 层里。
- Implementers
Constructors
Properties
- current → MovaThumb?
-
The thumbnail currently resolved for the active scrub position, if any.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
thumbs
→ Stream<
MovaThumb?> -
Emits the thumbnail to display, or null when nothing should be shown.
no setter
Methods
-
cancel(
) → void - Drops the pending request and hides the current thumbnail; called when the drag ends.
-
clear(
) → Future< void> - Empties the thumbnail cache.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
peekAt(
Duration position) → MovaThumb? -
Returns the already-resident thumbnail covering
positionwithout any I/O, so a bucket that is already cached renders in the same frame. -
requestAt(
Duration position) → void -
Requests the thumbnail covering
position; debounced and bucket-aligned. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited