Package im.zego.zegoexpress.constants
Enum ZegoAudioDataCallbackBitMask
- java.lang.Object
-
- java.lang.Enum<ZegoAudioDataCallbackBitMask>
-
- im.zego.zegoexpress.constants.ZegoAudioDataCallbackBitMask
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoAudioDataCallbackBitMask>
public enum ZegoAudioDataCallbackBitMask extends java.lang.Enum<ZegoAudioDataCallbackBitMask>
Audio data callback function enable bitmask enumeration.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPTURED
The mask bit of this field corresponds to the enable [onCapturedAudioData] callback functionMIXED
The mask bit of this field corresponds to the enable [onMixedAudioData] callback functionPLAYBACK
The mask bit of this field corresponds to the enable [onPlaybackAudioData] callback functionPLAYER
The mask bit of this field corresponds to the enable [onPlayerAudioData] callback function
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoAudioDataCallbackBitMask
getZegoAudioDataCallbackBitMask(int value)
int
value()
static ZegoAudioDataCallbackBitMask
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoAudioDataCallbackBitMask[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAPTURED
public static final ZegoAudioDataCallbackBitMask CAPTURED
The mask bit of this field corresponds to the enable [onCapturedAudioData] callback function
-
PLAYBACK
public static final ZegoAudioDataCallbackBitMask PLAYBACK
The mask bit of this field corresponds to the enable [onPlaybackAudioData] callback function
-
MIXED
public static final ZegoAudioDataCallbackBitMask MIXED
The mask bit of this field corresponds to the enable [onMixedAudioData] callback function
-
PLAYER
public static final ZegoAudioDataCallbackBitMask PLAYER
The mask bit of this field corresponds to the enable [onPlayerAudioData] callback function
-
-
Method Detail
-
values
public static ZegoAudioDataCallbackBitMask[] 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 (ZegoAudioDataCallbackBitMask c : ZegoAudioDataCallbackBitMask.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoAudioDataCallbackBitMask 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()
-
getZegoAudioDataCallbackBitMask
public static ZegoAudioDataCallbackBitMask getZegoAudioDataCallbackBitMask(int value)
-
-