Package com.banuba.sdk.effect_player
Enum Class RealtimeProcessorMode
- All Implemented Interfaces:
Serializable
,Comparable<RealtimeProcessorMode>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAsynchronous mode.Asynchronous mode.Synchronous mode.Synchronous mode when effect loaded. -
Method Summary
Modifier and TypeMethodDescriptionstatic RealtimeProcessorMode
Returns the enum constant of this class with the specified name.static RealtimeProcessorMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SYNC
Synchronous mode. Frame drop not allowed, `pop` will block on processing. -
SYNC_WHEN_EFFECT_LOADED
Synchronous mode when effect loaded. Frame drop not allowed. During effect loading `push` will forward frames to `pop`, `pop` will return SKIP. When effect loaded, `pop` will block on processing. -
ASYNC
Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing. `push` can drop frames, if processor busy, `pop` can return EMPTY, if no processed frame data for now. -
ASYNC_WHEN_EFFECT_LOADED
Asynchronous mode. Frame drop is allowed. `push` and `pop` do not block on processing. During effect loading `push` will forward frames to `pop`, `pop` will return SKIP. When effect loaded, `push` can drop frames, if processor busy, `pop` can return EMPTY, if no processed frame data for now.
-
-
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
-