Class UserProperty


  • public class UserProperty
    extends Object
    A simple key-value pair struct to define a user property. A user property is a name-value pair of utf-8 strings that can be added to MQTT5 packets.
    • Field Detail

      • key

        public final String key
      • value

        public final String value
    • Constructor Detail

      • UserProperty

        public UserProperty​(String key,
                            String value)