FileVideoSource class
本地文件来源(绝对路径或 file:// URI),不走代理。
Local file media source (absolute path or file:// URI). Bypasses the proxy.
- Inheritance
-
- Object
- VideoSource
- FileVideoSource
Constructors
- FileVideoSource(String path)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- identity → String
-
用作历史记录、mime 探测的稳定标识。
Stable identity used for history keys and mime sniffing.
no setteroverride
- isNetwork → bool
-
是否可走 HTTP 缓存代理。只有 NetworkVideoSource 为 true。
Whether this source is eligible for the HTTP caching proxy.
no setterinherited
- path → String
-
文件路径或
file://URI。 Raw path orfile://URI.final - 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
-
resolveToNativeUrl(
) → Future< String> -
将来源解析为原生播放器可直接消费的 URL。
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override