Interface OnMetadata

All Superinterfaces:
Listener

public interface OnMetadata extends Listener
  • Method Details

    • onMetadata

      void onMetadata(Map<String,String> metadata)
      Called when an updated list of properties is received. This method is called both when a connection is established with WhatsappWeb and when new props are available. In the latter case though, this object should be considered as partial and is guaranteed to contain only updated entries.
      Specified by:
      onMetadata in interface Listener
      Parameters:
      metadata - the updated list of properties