VidAuthVideoSource class
VidAuth 类型的视频源
通过VID和Auth认证播放视频的资源类型。
VidAuth-based Video Source
Resource type for playing videos via VID and Auth authentication.
- Inheritance
-
- Object
- VideoSource
- VidAuthVideoSource
Constructors
- VidAuthVideoSource.new({required String vid, required String playAuth})
- 构造函数
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- playAuth → String
-
播放授权码
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceType → SourceType
-
获取视频源类型
no setteroverride
- vid → String
-
视频唯一标识符
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
转换为可用于播放器的配置映射
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → bool -
验证当前资源配置是否有效
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited