SourceType enum
视频资源类型
定义了播放视频时支持的不同资源类型。
Playback source type
Defines the different types of playback sources supported for video playback.
Values
- url → const SourceType
-
表示通过 URL 播放视频资源。
The video resource is played via a direct URL.
- vidSts → const SourceType
-
表示通过 VID(视频唯一标识符)和 STS(安全令牌服务)播放视频资源。
The video resource is played using a Video ID (VID) and Security Token Service (STS).
- vidAuth → const SourceType
-
表示通过 VID 和 Auth(授权认证)播放视频资源。
The video resource is played using a Video ID (VID) and Authorization (Auth).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SourceType> - A constant List of the values in this enum, in order of their declaration.