messageDeliveryMode (property)
The delivery mode of the message.
Syntax
@property (nonatomic,readwrite,assign,getter=messageDeliveryMode,setter=setMessageDeliveryMode:) int messageDeliveryMode; - (int)messageDeliveryMode; - (void)setMessageDeliveryMode:(int)newMessageDeliveryMode;
public var messageDeliveryMode: Int32 { get {...}
set {...} }
Default Value
0
Remarks
The delivery mode of the message.
This property holds the delivery mode of the message; possible values are:
- 0: Unspecified.
- 1: Non-persistent; the message may be lost if the server encounters an error.
- 2: Persistent; the message will not be lost, even in case of server errors.
The default is 0, which indicates that the message does not have an explicit delivery mode set.