MovaKeepAliveReason enum
Why the keepAlive phase changed (events), or why an entry was declined (the last three are decision-only and never appear in events).
待机阶段为何变化(事件里),或进入为何被拒(最后三个只出现在决策结果里,不会出现在事件中)。
Values
- requested → const MovaKeepAliveReason
-
KeepAlive was entered.
进入待机。
- vod → const MovaKeepAliveReason
-
VOD is never held; paused instead.
点播不待机,改为暂停。
- hls → const MovaKeepAliveReason
-
HLS/DASH is paused unless
allowHlsis set.HLS/DASH 默认暂停,除非设置了
allowHls。 - silentStream → const MovaKeepAliveReason
-
A stream without audio, with
silentStreams: pause.无音频的流,且配置为
silentStreams: pause。 - mediaUnknown → const MovaKeepAliveReason
-
Media facts are not known yet (tracks or audio decoder not ready).
媒体信息尚不明确(轨道或音频解码器未就绪)。
- unsupported → const MovaKeepAliveReason
-
The kernel lacks the capability, or the hold failed to apply.
内核不具备该能力,或待机未能生效。
- maxDuration → const MovaKeepAliveReason
-
A hold reached
maxDurationand fell back to a pause.待机达到
maxDuration,退回暂停。 - failed → const MovaKeepAliveReason
-
A hold failed (or recovery had a retry pending); paused, reopens on wake.
待机期间失败(或 recovery 有待执行的重试);暂停,唤醒时重开。
- ended → const MovaKeepAliveReason
-
A live stream ended during a hold; paused, reopens on wake.
直播在待机期间结束;暂停,唤醒时重开。
- reloaded → const MovaKeepAliveReason
-
The host reloaded a source while keepAlive was requested; it loads paused.
待机请求期间宿主换了源;新源以暂停态加载。
- woke → const MovaKeepAliveReason
-
setKeepAlive(false)began waking.setKeepAlive(false)开始唤醒。 - resumed → const MovaKeepAliveReason
-
Waking finished (landed or timed out).
唤醒完成(落地或超时)。
- paused → const MovaKeepAliveReason
-
The host called
pause().宿主调用了
pause()。 - already → const MovaKeepAliveReason
-
Decision only: already holding or fallen back.
仅决策:已在待机或已退回暂停。
- exempt → const MovaKeepAliveReason
-
Decision only: shown in PiP or the mini window.
仅决策:画面在画中画或小窗里。
- notPlaying → const MovaKeepAliveReason
-
Decision only: nobody wants playback right now.
仅决策:此刻没人想播放。
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<
MovaKeepAliveReason> - A constant List of the values in this enum, in order of their declaration.