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:
Value | Description |
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.