UrlSource class
URL预加载任务类 用于处理基于直接URL的视频源预加载
- Inheritance
-
- Object
- BaseVideoSource
- UrlSource
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- quality → String
-
重写获取视频质量
URL类型默认使用AUTO质量
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoType → VideoSourceType
-
重写获取视频源类型
返回URL类型的视频源标识
no setteroverride
- videoUrl ↔ String
-
视频URL地址
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
重写将视频源信息转换为JSON映射
返回包含任务类型和URL的Map对象
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited