Package 

Class EventEmitterUtil


  • 
    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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 message
        exception - 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