Enum Class EOS_ERTCBackgroundMode
- All Implemented Interfaces:
com.sun.jna.NativeMapped,Serializable,Comparable<EOS_ERTCBackgroundMode>,Constable
public enum EOS_ERTCBackgroundMode
extends Enum<EOS_ERTCBackgroundMode>
implements com.sun.jna.NativeMapped
All background modes supported by the RTC components
- Since:
- 10/31/2023
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionApplication status has no effect on RTC rooms.Upon entering a background application status, all logged in users leave any RTC rooms. -
Method Summary
Modifier and TypeMethodDescriptionfromNative(Object nativeValue, com.sun.jna.FromNativeContext context) Class<?>toNative()static EOS_ERTCBackgroundModeReturns the enum constant of this class with the specified name.static EOS_ERTCBackgroundMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EOS_RTCBM_LeaveRooms
Upon entering a background application status, all logged in users leave any RTC rooms. All subsequent attemps to join any RTC rooms will be rejected. Upon returning to a foreground application status, all subsequent attemps to join any RTC rooms will be allowed. -
EOS_RTCBM_KeepRoomsAlive
Application status has no effect on RTC rooms. Audio is captured from input devices and is played to output devices. Games should obtain consent from users and otherwise make users aware this is occurring.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromNative
- Specified by:
fromNativein interfacecom.sun.jna.NativeMapped
-
toNative
- Specified by:
toNativein interfacecom.sun.jna.NativeMapped
-
nativeType
- Specified by:
nativeTypein interfacecom.sun.jna.NativeMapped
-