MessagePriority Property
The priority level of the current message.
Syntax
ANSI (Cross Platform) int GetMessagePriority();
int SetMessagePriority(int iMessagePriority); Unicode (Windows) INT GetMessagePriority();
INT SetMessagePriority(INT iMessagePriority);
Possible Values
SMPP_MESSAGE_PRIORITY_LOW(0),
SMPP_MESSAGE_PRIORITY_NORMAL(1),
SMPP_MESSAGE_PRIORITY_HIGH(2),
SMPP_MESSAGE_PRIORITY_URGENT(3)
@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)
#define PID_SMPP_MESSAGEPRIORITY 12 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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.
Data Type
Integer