-
public final class EventEmitterUtil
An utility class to emit common events in the Brightcove SDK.
-
-
Method Summary
Modifier and Type Method Description static void
emitError(EventEmitter eventEmitter, String message, Exception exception)
Emits an ERROR event with a MESSAGE property. static void
emitError(EventEmitter eventEmitter, String message)
Emits an ERROR event with a MESSAGE property. -
-
Method Detail
-
emitError
static void emitError(EventEmitter eventEmitter, String message, Exception exception)
Emits an ERROR event with a MESSAGE property.
- Parameters:
eventEmitter
- The SDK event emitter object.message
- the messageexception
- the exception
-
emitError
static void emitError(EventEmitter eventEmitter, String message)
Emits an ERROR event with a MESSAGE property.
- Parameters:
eventEmitter
- The SDK event emitter object.message
- the message
-
-
-
-