public final class EventEmitterUtil
extends java.lang.Object
Constructor and Description |
---|
EventEmitterUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
emitError(EventEmitter eventEmitter,
java.lang.String message)
Emits an
EventType.ERROR event with a BrightcoveError.MESSAGE property. |
static void |
emitError(EventEmitter eventEmitter,
java.lang.String message,
java.lang.Exception exception)
Emits an
EventType.ERROR event with a BrightcoveError.MESSAGE property. |
public static void emitError(EventEmitter eventEmitter, java.lang.String message, java.lang.Exception exception)
EventType.ERROR
event with a BrightcoveError.MESSAGE
property.eventEmitter
- The SDK event emitter object.message
- the messageexception
- the exceptionpublic static void emitError(EventEmitter eventEmitter, java.lang.String message)
EventType.ERROR
event with a BrightcoveError.MESSAGE
property.eventEmitter
- The SDK event emitter object.message
- the message