MovaFixedSttSubtitleDirProvider class
A IMovaSttSubtitleDirProvider that always returns one fixed path.
Lets hosts pin the subtitle cache location and keeps tests free of plugin channels.
恒定返回同一路径的 IMovaSttSubtitleDirProvider。
既支持宿主固定字幕缓存位置,也让测试无需依赖插件通道。
- Implemented types
Constructors
- MovaFixedSttSubtitleDirProvider(String path)
-
Creates a provider pinned to
path.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → Future< String> -
Returns the absolute path of the cache directory; the caller creates it
if it does not exist yet.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited