Package im.zego.zegoexpress.constants
Enum ZegoAIVoiceChangerEvent
- java.lang.Object
-
- java.lang.Enum<ZegoAIVoiceChangerEvent>
-
- im.zego.zegoexpress.constants.ZegoAIVoiceChangerEvent
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoAIVoiceChangerEvent>
public enum ZegoAIVoiceChangerEvent extends java.lang.Enum<ZegoAIVoiceChangerEvent>
AI voice changer event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND_PERFORMANCE_INSUFFICIENT
Background performance insufficient.FOREGROUND_PERFORMANCE_INSUFFICIENT
Foreground performance insufficient.OTHERS
Others.SET_SPEAKER_FAILED
Set speaker failed.SUCCEED
Succeed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoAIVoiceChangerEvent
getZegoAIVoiceChangerEvent(int value)
int
value()
static ZegoAIVoiceChangerEvent
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoAIVoiceChangerEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCEED
public static final ZegoAIVoiceChangerEvent SUCCEED
Succeed.
-
BACKGROUND_PERFORMANCE_INSUFFICIENT
public static final ZegoAIVoiceChangerEvent BACKGROUND_PERFORMANCE_INSUFFICIENT
Background performance insufficient.
-
FOREGROUND_PERFORMANCE_INSUFFICIENT
public static final ZegoAIVoiceChangerEvent FOREGROUND_PERFORMANCE_INSUFFICIENT
Foreground performance insufficient.
-
OTHERS
public static final ZegoAIVoiceChangerEvent OTHERS
Others.
-
SET_SPEAKER_FAILED
public static final ZegoAIVoiceChangerEvent SET_SPEAKER_FAILED
Set speaker failed.
-
-
Method Detail
-
values
public static ZegoAIVoiceChangerEvent[] 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 (ZegoAIVoiceChangerEvent c : ZegoAIVoiceChangerEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoAIVoiceChangerEvent 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
-
value
public int value()
-
getZegoAIVoiceChangerEvent
public static ZegoAIVoiceChangerEvent getZegoAIVoiceChangerEvent(int value)
-
-