Produces every declared generative source before the media pre-pass and serves the resolved local source synchronously afterwards.
The shape is the ordering guarantee, exactly like MediaResolver: all
generation (API calls, polling, downloads, caching) happens in generateAll
before the first frame is pumped, and mediaFor/audioFor/metaFor are
pure synchronous lookups. A produced asset is a plain file-backed
MediaSource/AudioSource by the time the media collectors read it, so the
existing pre-resolve, clip, and audio-mix machinery handles it unchanged.
The library default is NoGenerativeResolver (a no-op for an empty set, a
clear error otherwise); the real implementation lives in fluvie_ai.
MediaResolver, NoGenerativeResolver and fluvie_ai are named in prose,
not as doc links, because they live in layers above core.
- Implementers
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
-
audioFor(
GenerativeSource source) → AudioSource -
The resolved file-backed AudioSource for a produced audio
source(music, speech, or sound effect) — synchronous by contract. -
generateAll(
Iterable< GenerativeSource> sources, {void onProgress(GenerativeProgress progress)?}) → Future<void> -
Produces every source in
sources(cache hit or generate) so that mediaFor, audioFor, and metaFor can answer synchronously afterwards. -
mediaFor(
GenerativeSource source) → MediaSource -
The resolved file-backed MediaSource for a produced visual
source(image or video) — synchronous by contract. -
metaFor(
GenerativeSource source) → GeneratedAssetMeta -
The probed GeneratedAssetMeta for produced
source— synchronous by contract, so the timeline can read a clip's duration and audio flag. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited