Package com.brightcove.player.util
Class EventEmitterUtil
java.lang.Object
com.brightcove.player.util.EventEmitterUtil
An utility class to emit common events in the Brightcove SDK.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidemitError(EventEmitter eventEmitter, String message) Emits anEventType.ERRORevent with aBrightcoveError.MESSAGEproperty.static voidemitError(EventEmitter eventEmitter, String message, Exception exception) Emits anEventType.ERRORevent with aBrightcoveError.MESSAGEproperty.
-
Constructor Details
-
EventEmitterUtil
public EventEmitterUtil()
-
-
Method Details
-
emitError
Emits anEventType.ERRORevent with aBrightcoveError.MESSAGEproperty.- Parameters:
eventEmitter- The SDK event emitter object.message- the messageexception- the exception
-
emitError
Emits anEventType.ERRORevent with aBrightcoveError.MESSAGEproperty.- Parameters:
eventEmitter- The SDK event emitter object.message- the message
-