Interface MessageSubscriber.MessageHandler

Enclosing class:
MessageSubscriber

public static interface MessageSubscriber.MessageHandler
Interface used to handle the callback when a message arrives
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMessage(byte[] messageData)
    Called when a message arrives from the server
  • Method Details

    • onMessage

      void onMessage(byte[] messageData)
      Called when a message arrives from the server
      Parameters:
      messageData - the binary message data