Package com.zego.zegoaudioroom
Enum ZegoAudioLiveEvent
- java.lang.Object
-
- java.lang.Enum<ZegoAudioLiveEvent>
-
- com.zego.zegoaudioroom.ZegoAudioLiveEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoAudioLiveEvent>
public enum ZegoAudioLiveEvent extends java.lang.Enum<ZegoAudioLiveEvent>
直播事件类型。
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Audio_Play_BeginRetry
重试拉流.Audio_Play_Break
音频卡顿开始.Audio_Play_BreakCancel
音频卡顿取消.Audio_Play_BreakEnd
音频卡顿结束.Audio_Play_RetrySuccess
重试拉流成功.Audio_Play_TempDisconnected
拉流临时中断.Audio_Publish_BeginRetry
重试推流.Audio_Publish_RetrySuccess
重试推流成功.Audio_Publish_TempDisconnected
推流临时中断.Live_Event_Reserve1
预留事件.Live_Event_Reserve2
预留事件.Live_Event_Reserve3
预留事件.Live_Event_Reserve4
预留事件.Live_Event_Reserve5
预留事件.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
intValue()
static ZegoAudioLiveEvent
parse(int value)
static ZegoAudioLiveEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoAudioLiveEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Audio_Play_BeginRetry
public static final ZegoAudioLiveEvent Audio_Play_BeginRetry
重试拉流.
-
Audio_Play_RetrySuccess
public static final ZegoAudioLiveEvent Audio_Play_RetrySuccess
重试拉流成功.
-
Audio_Publish_BeginRetry
public static final ZegoAudioLiveEvent Audio_Publish_BeginRetry
重试推流.
-
Audio_Publish_RetrySuccess
public static final ZegoAudioLiveEvent Audio_Publish_RetrySuccess
重试推流成功.
-
Audio_Play_TempDisconnected
public static final ZegoAudioLiveEvent Audio_Play_TempDisconnected
拉流临时中断.
-
Audio_Publish_TempDisconnected
public static final ZegoAudioLiveEvent Audio_Publish_TempDisconnected
推流临时中断.
-
Live_Event_Reserve1
public static final ZegoAudioLiveEvent Live_Event_Reserve1
预留事件.
-
Live_Event_Reserve2
public static final ZegoAudioLiveEvent Live_Event_Reserve2
预留事件.
-
Audio_Play_Break
public static final ZegoAudioLiveEvent Audio_Play_Break
音频卡顿开始.
-
Audio_Play_BreakEnd
public static final ZegoAudioLiveEvent Audio_Play_BreakEnd
音频卡顿结束.
-
Live_Event_Reserve3
public static final ZegoAudioLiveEvent Live_Event_Reserve3
预留事件.
-
Live_Event_Reserve4
public static final ZegoAudioLiveEvent Live_Event_Reserve4
预留事件.
-
Live_Event_Reserve5
public static final ZegoAudioLiveEvent Live_Event_Reserve5
预留事件.
-
Audio_Play_BreakCancel
public static final ZegoAudioLiveEvent Audio_Play_BreakCancel
音频卡顿取消.
-
-
Method Detail
-
values
public static ZegoAudioLiveEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZegoAudioLiveEvent c : ZegoAudioLiveEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoAudioLiveEvent valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
intValue
public int intValue()
-
parse
public static ZegoAudioLiveEvent parse(int value)
-
-