messagePriority (property)

The priority level of the current message.

Syntax

@property (nonatomic,readwrite,assign,getter=messagePriority,setter=setMessagePriority:) int messagePriority;
- (int)messagePriority;
- (void)setMessagePriority:(int)newMessagePriority;

/* Possible Values */
SMPP_MESSAGE_PRIORITY_LOW(0),
SMPP_MESSAGE_PRIORITY_NORMAL(1),
SMPP_MESSAGE_PRIORITY_HIGH(2),
SMPP_MESSAGE_PRIORITY_URGENT(3)
public var messagePriority: SmppMessagePriorities {
  get {...}
set {...} }
public enum SmppMessagePriorities : Int32 { case smppMessagePriorityLow = 0 case smppMessagePriorityNormal = 1 case smppMessagePriorityHigh = 2 case smppMessagePriorityUrgent = 3 }

Default Value

1

Remarks

When sending a message, this property will tell the server what type of priority to assign to the message. The effect of the message priority setting is dependent upon the Message Center manufacturer and the network on which the target recipient lies. For example, some MCs may immediately forward "urgent" messages, some networks may use the priority setting as a visual indicator of the message's urgency (e.g. blinking icons, etc.), and some networks may entirely ignore the priority setting.

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