Interface OnNewContact

All Superinterfaces:
Listener

public interface OnNewContact extends Listener
  • Method Details

    • onNewContact

      void onNewContact(Contact contact)
      Called when the socket receives a new contact. There isn't an overloaded method with a Whatsapp parameter due to technical limitations.
      Specified by:
      onNewContact in interface Listener
      Parameters:
      contact - the new contact