Interface UserProperties
- All Known Subinterfaces:
ModifiableUserProperties
@DoNotImplement public interface UserProperties
The user properties of an MQTT packet.
- Since:
- 4.0.0, CE 2019.1
-
Method Details
-
getFirst
- Parameters:
name- The name of the user property to get.- Returns:
- An
Optionalthat contains the first user property with the specified name. - Since:
- 4.0.0, CE 2019.1
-
getAllForName
- Parameters:
name- The name of the user properties to get.- Returns:
- The values user property with the specified name.
- Since:
- 4.0.0, CE 2019.1
-
asList
- Returns:
- A list of all
UserPropertys. - Since:
- 4.0.0, CE 2019.1
-
isEmpty
boolean isEmpty()- Returns:
trueif no user properties are present, elsefalse.- Since:
- 4.0.0, CE 2019.1
-