VidAuth class
VID+Auth视频源类 用于处理基于VID和PlayAuth的视频源
- Inheritance
-
- Object
- BaseVideoSource
- VidAuth
Constructors
- VidAuth({required String vid, required String playAuth, String? region, VidSourceConfig? config})
-
构造函数
vid视频ID,必需playAuth播放授权信息,必需region区域信息,可选configVID源配置,可选
Properties
- config ↔ VidSourceConfig?
-
VID源配置(可选)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- playAuth ↔ String
-
播放授权信息
getter/setter pair
- quality → String?
-
重写获取视频质量
VID+Auth类型不指定特定质量
no setteroverride
- region ↔ String?
-
区域信息(可选)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vid ↔ String
-
视频ID
getter/setter pair
- videoType → VideoSourceType
-
重写获取视频源类型
返回VID+Auth类型的视频源标识
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
重写将视频源信息转换为JSON映射
返回包含VID+Auth相关信息的Map对象
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited