Interface OnWhatsappContactPresence

All Superinterfaces:
Listener

public interface OnWhatsappContactPresence extends Listener
  • Method Details

    • onContactPresence

      void onContactPresence(Whatsapp whatsapp, Chat chat, Jid jid, ContactStatus status)
      Called when the socket receives an update regarding the presence of a contact
      Specified by:
      onContactPresence in interface Listener
      Parameters:
      whatsapp - an instance to the calling api
      chat - the chat that this update regards
      jid - the contact that this update regards
      status - the new status of the contact