Class MqttMsgSubscribedEventArgs
- Namespace
- nanoFramework.M2Mqtt.Messages
- Assembly
- nanoFramework.M2Mqtt.Core.dll
Represents the event arguments for successfully subscribed topics.
public class MqttMsgSubscribedEventArgs : EventArgs
- Inheritance
-
MqttMsgSubscribedEventArgs
- Inherited Members
- Extension Methods
Constructors
MqttMsgSubscribedEventArgs(ushort, MqttQoSLevel[])
Initializes a new instance of the MqttMsgSubscribedEventArgs class with the specified parameters.
public MqttMsgSubscribedEventArgs(ushort messageId, MqttQoSLevel[] grantedQosLevels)
Parameters
messageId
ushortThe message identifier associated with the subscription request.
grantedQosLevels
MqttQoSLevel[]The list of granted Quality of Service (QoS) levels for the subscribed topics.
Properties
GrantedQoSLevels
Gets the list of granted Quality of Service (QoS) levels for the subscribed topics.
public MqttQoSLevel[] GrantedQoSLevels { get; }
Property Value
MessageId
Gets the message identifier associated with the subscription request.
public ushort MessageId { get; }