FallbackTriggered class final
内核降级 / 初始化超时信号。reason == error 仅 Android:controller
拆掉 video_player 换 IJK 软解前触发;reason == timeout 三端通用,
是 initialize 的 wall-clock 超时排障信号(iOS / Web 上不伴随内核回退)。
- Inheritance
-
- Object
- NiumaPlayerEvent
- FallbackTriggered
Constructors
- FallbackTriggered(FallbackReason reason, {String? errorCode, PlayerErrorCategory? errorCategory})
-
const
Properties
- errorCategory → PlayerErrorCategory?
-
底层 PlayerError 分类——区分"解码失败"(值得回退 IJK)和
"网络断了"(回退没意义)。
final
- errorCode → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- reason → FallbackReason
-
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited