incomingMessagePayloadFormatIndicator (property)

Indicates whether the payload is unspecified bytes or UTF-8 Encoded character data.

Syntax

- (int)incomingMessagePayloadFormatIndicator:(int)incomingMessageIndex;
public func incomingMessagePayloadFormatIndicator(incomingMessageIndex: Int32) throws -> Int32

Default Value

0

Remarks

Indicates whether the payload is unspecified bytes or UTF-8 Encoded character data. Possible values are:

ValueDescription
0 Payload is unspecified bytes
1 Payload is UTF-8 Encoded Character Data

Valid only for MQTT 5.

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 iOS Edition - Version 20.0 [Build 8265]