IncomingMessageQoS Property
This message's QoS level.
Syntax
ANSI (Cross Platform) int GetIncomingMessageQoS(int iIncomingMessageIndex); Unicode (Windows) INT GetIncomingMessageQoS(INT iIncomingMessageIndex);
- (int)incomingMessageQoS:(int)incomingMessageIndex;
#define PID_MQTT_INCOMINGMESSAGEQOS 18 IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_MQTT_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_MQTT_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
This message's QoS level. Possible values are:
Value | Description |
0 | At most once delivery |
1 | At least once delivery |
2 | Exactly once delivery |
The IncomingMessageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the IncomingMessageCount property.
This property is read-only and not available at design time.
Data Type
Integer