Package 

Class Channel

  • All Implemented Interfaces:
    com.glia.androidsdk.internal.EventEmitter

    
    public class Channel
     implements EventEmitter
                        

    Allows to send messages to other channel participant via Kluster. Ported from JS implementation

    • Method Summary

      Modifier and Type Method Description
      void emit(String eventName, JSONObject data)
      synchronized void on(String eventName, EventEmitter.MessageListener messageListener)
      synchronized void off(String eventName, EventEmitter.MessageListener messageListener)
      void close()
      • Methods inherited from class com.glia.androidsdk.internal.EventEmitter

        emit, emit, off, on
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait