recipientType (property)
This property contains the type of a particular recipient.
Syntax
- (int)recipientType:(int)recipientIndex; - (void)setRecipientType:(int)recipientIndex:(int)newRecipientType;
/* Possible Values */
SMPP_RECIPIENT_TYPE_NORMAL(0),
SMPP_RECIPIENT_TYPE_LIST(1)
public func recipientType(recipientIndex: Int32) throws -> SmppRecipientTypes
public func setRecipientType(recipientIndex: Int32, newRecipientType: SmppRecipientTypes) throws -> Void
public enum SmppRecipientTypes : Int32 { case smppRecipientTypeNormal = 0 case smppRecipientTypeList = 1 }
Default Value
0
Remarks
This property contains the type of a particular recipient. This property is used only for multiple recipient messages. The RecipientAddress contains the corresponding recipient's address.
For a recipient type of normal, the value in RecipientAddress should be either the dotted IPv4 of an SMS-enabled device or the directory number of a target mobile phone. For distributed lists, the value should be the name of the list as it is stored on the SMPPServer.
Valid values for RecipientType are:
0 (smppRecipientTypeNormal) | Normal SME (Short Message Entity) Address |
1 (smppRecipientTypeList) | Distribution List |
The RecipientIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RecipientCount property.