Interface OnAction

All Superinterfaces:
Listener

public interface OnAction
  • Method Details

    • onAction

      void onAction(Action action)
      Called when Socket receives an sync from Whatsapp.
      Specified by:
      onAction in interface Listener
      Parameters:
      action - the sync that was executed
    • onQRCode

      default QrHandler onQRCode()
      Description copied from interface: Listener
      Called when the socket successfully establishes a connection with new secrets. By default, the QR code is printed to the console.
      Specified by:
      onQRCode in interface Listener
      Returns:
      a non-null handler to process the qr code