serviceType (property)

Indicates the type of service for the current message.

Syntax

@property (nonatomic,readwrite,assign,getter=serviceType,setter=setServiceType:) int serviceType;
- (int)serviceType;
- (void)setServiceType:(int)newServiceType;

/* Possible Values */
SMPP_SERVICE_DEFAULT(0),
SMPP_SERVICE_CMT(1),
SMPP_SERVICE_CPT(2),
SMPP_SERVICE_VMN(3),
SMPP_SERVICE_VMA(4),
SMPP_SERVICE_WAP(5),
SMPP_SERVICE_USSD(6),
SMPP_SERVICE_CBS(7)
public var serviceType: SmppServiceTypes {
  get {...}
set {...} }
public enum SmppServiceTypes : Int32 { case smppServiceDefault = 0 case smppServiceCMT = 1 case smppServiceCPT = 2 case smppServiceVMN = 3 case smppServiceVMA = 4 case smppServiceWAP = 5 case smppServiceUSSD = 6 case smppServiceCBS = 7 }

Default Value

0

Remarks

When sending messages, this property is used define the SMS application service to be associated with the message. The MC will use the value to determine the availability of enhanced messaging services and to control the teleservice used on the air interface.

The values are defined in the SMPP 5.0 specification as the following:

"" (NULL)the MC default
CMTCellular Messaging
CPTCellular Paging
VMNVoice Mail Notification
VMAVoice Mail Alerting
WAPWireless Application Protocol
USSDUnstructured Supplementary Services Data
CBSCell Broadcast Service

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