Class AdHocCommandNote

java.lang.Object
org.jivesoftware.smackx.commands.AdHocCommandNote

public class AdHocCommandNote extends Object
Notes can be added to a command execution response. A note has a type and value.
  • Constructor Details

    • AdHocCommandNote

      Creates a new adhoc command note with the specified type and value.
      Parameters:
      type - the type of the note.
      value - the value of the note.
  • Method Details

    • getValue

      public String getValue()
      Returns the value or message of the note.
      Returns:
      the value or message of the note.
    • getType

      Return the type of the note.
      Returns:
      the type of the note.