ZegoLiveStreamingState enum
Live streaming state
- When the live streaming is in preview mode, the ZegoLiveStreamingState is idle.
- When the live streaming is ongoing, the ZegoLiveStreamingState becomes living.
- When the live streaming is in PK mode, the ZegoLiveStreamingState becomes inPKBattle.
- When the live streaming is ended, the ZegoLiveStreamingState becomes ended, and after the ended state, the ZegoLiveStreamingState immediately becomes idle (ended means the live streaming has ended, idle means either not started or already ended).
┌─→ PK ───┐
│ ↓
idle ─> living ─> ended ⌍
↑ │
└──────────────────┘
Constructors
- ZegoLiveStreamingState()
-
const
Values
- idle → const ZegoLiveStreamingState
-
Idle state, live streaming not started or ended
- living → const ZegoLiveStreamingState
-
Live streaming in progress
- inPKBattle → const ZegoLiveStreamingState
-
In PK battle
- ended → const ZegoLiveStreamingState
-
Live streaming ended
Properties
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<
ZegoLiveStreamingState> - A constant List of the values in this enum, in order of their declaration.