Pusheo Documentation

Step by step instructions for easy installation and configuration of Pusheo.

Prepare for callbacks

  • Implement the interface ‘PusheoCallback’. Assume you implemented it in the class ‘MyCallbacks’.
  • The following methods are available as callbacks:
  • onOpen(String s);
    onClose(String s);
    onMessage(String s);
    onMessageSent(String data);
    onError(String s);
    onReOpen(String s);
    onMessageBytes(String s);
    onHistoryRecieved(String s);