withMessageIdentifier method

MqttPublishMessage withMessageIdentifier(
  1. int messageIdentifier
)

Sets the message identifier of the message.

Implementation

MqttPublishMessage withMessageIdentifier(int messageIdentifier) {
  variableHeader!.messageIdentifier = messageIdentifier;
  return this;
}