|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.rim.device.api.system.SMSParameters
public class SMSParameters
SMS parameters. See GSM 03.40 for details.
Field Summary | ||
---|---|---|
static int |
LANGUAGE_CHINESE
Chinese language. |
|
static int |
LANGUAGE_ENGLISH
English language. |
|
static int |
LANGUAGE_FRENCH
French language. |
|
static int |
LANGUAGE_HEBREW
Hebrew language. |
|
static int |
LANGUAGE_JAPANESE
Japanese language. |
|
static int |
LANGUAGE_KOREAN
Korean language. |
|
static int |
LANGUAGE_NONE
No language. |
|
static int |
LANGUAGE_SPANISH
Spanish language. |
|
static int |
LANGUAGE_UNSPECIFIED
Unspecified language. |
|
static int |
MESSAGE_CLASS_0
Message class 0. |
|
static int |
MESSAGE_CLASS_1
Message class 1. |
|
static int |
MESSAGE_CLASS_2
Message class 2. |
|
static int |
MESSAGE_CLASS_3
Message class 3. |
|
static int |
MESSAGE_CLASS_NOT_GIVEN
Unspecified message class. |
|
static int |
MESSAGE_CODING_8_BIT
8-bit (user-defined) message coding. |
|
static int |
MESSAGE_CODING_ASCII
ASCII message coding. |
|
static int |
MESSAGE_CODING_DEFAULT
Default message coding. |
|
static int |
MESSAGE_CODING_ISO8859_1
ISO 8859-1 coding. |
|
static int |
MESSAGE_CODING_KOREAN_KSX1001
KSX1001 (KSC5601) message coding. |
|
static int |
MESSAGE_CODING_UCS2
UCS2 message coding. |
|
static int |
NUM_ABBREVIATED
Abbreviated number. |
|
static int |
NUM_ALPHANUMERIC
Alphanumeric number. |
|
static int |
NUM_EMAIL
Email address. |
|
static int |
NUM_INTERNATIONAL
International number. |
|
static int |
NUM_NATIONAL
Intra-national number. |
|
static int |
NUM_NETWORK_SPEC
Network specifcation number. |
|
static int |
NUM_RESERVED
Reserved number. |
|
static int |
NUM_SUBSCRIBER
Subscriber number. |
|
static int |
NUM_UNKNOWN
Unknown number. |
|
static int |
PERIOD_IMMEDIATE
"Immediate" validity/delivery period. |
|
static int |
PERIOD_INDEFINITE
"Indefinite" validity/delivery period. |
|
static int |
PERIOD_TILL_ACTIVE
"TILL active" validity/delivery period. |
|
static int |
PERIOD_TILL_AREA
"TILL area" validity/delivery period. |
|
static int |
PLAN_DATA
Data plan. |
|
static int |
PLAN_ERMES
ERMES plan. |
|
static int |
PLAN_ISDN
ISDN plan. |
|
static int |
PLAN_NATIONAL
National plan. |
|
static int |
PLAN_PRIVATE
Private plan. |
|
static int |
PLAN_RESERVED
Reserved plan. |
|
static int |
PLAN_TELEX
TELEX plan. |
|
static int |
PLAN_UNKNOWN
Unknown plan. |
|
static int |
PRIORITY_EMERGENCY
Emergency message priority. |
|
static int |
PRIORITY_INTERACTIVE
Interactive message priority. |
|
static int |
PRIORITY_NONE
No message priority. |
|
static int |
PRIORITY_NORMAL
Normal message priority. |
|
static int |
PRIORITY_URGENT
Urgent message priority. |
|
static int |
PRIVACY_CONFIDENTIAL
Confidential privacy level. |
|
static int |
PRIVACY_NONE
No privacy level. |
|
static int |
PRIVACY_NORMAL
Normal privacy level. |
|
static int |
PRIVACY_RESTRICTED
Restricted privacy level. |
|
static int |
PRIVACY_SECRET
Secret privacy level. |
|
static int |
PROTOCOL_ID_CSPDN_TELETEX
CSPDN teletex protocl ID. |
|
static int |
PROTOCOL_ID_DEPERSONALIZATION_SM
De-personalization SM protocol ID. |
|
static int |
PROTOCOL_ID_ERMES
ERMES protocol ID. |
|
static int |
PROTOCOL_ID_GRP3_FAX
Group 3 fax protocol ID. |
|
static int |
PROTOCOL_ID_GRP4_FAX
Group 4 fax protocol ID. |
|
static int |
PROTOCOL_ID_GSM_MS
GSM/MS protocol ID. |
|
static int |
PROTOCOL_ID_IMPLICIT
Implicit protocol ID. |
|
static int |
PROTOCOL_ID_INTERNET_EMAIL
Internet email protocol ID. |
|
static int |
PROTOCOL_ID_ISDN_TELETEX
ISDN teletex protocol ID. |
|
static int |
PROTOCOL_ID_MSG_HANDLING
Message handling protocol ID. |
|
static int |
PROTOCOL_ID_NAT_PAGING
NAT paging protocol ID. |
|
static int |
PROTOCOL_ID_PSPDN_TELETEX
PSPDN teletex protocol ID. |
|
static int |
PROTOCOL_ID_PSTN_TELETEX
PSTN teletex protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE1
Replace SM type 1 protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE2
Replace SM type 2 protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE3
Replace SM type 3 protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE4
Replace SM type 4 protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE5
Replace SM type 5 protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE6
Replace SM type 6 protocol ID. |
|
static int |
PROTOCOL_ID_REPLACE_SM_TYPE7
Replace SM type 7 protocol ID. |
|
static int |
PROTOCOL_ID_RETURN_CALL_MSG
Return call message protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_1
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_2
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_3
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_4
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_5
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_6
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SC_SPECIFIC_7
SC-specific protocol ID. |
|
static int |
PROTOCOL_ID_SIM_DATA_DOWNLOAD
SIM data download protocol ID. |
|
static int |
PROTOCOL_ID_SM_TYPE0
SM type 0 protocol ID. |
|
static int |
PROTOCOL_ID_TELEX
Telex protocol ID. |
|
static int |
PROTOCOL_ID_UCI
UCI protocol ID. |
|
static int |
PROTOCOL_ID_UNSPEC_TELETEX
Unspecified teletex protocol ID. |
|
static int |
PROTOCOL_ID_VIDEOTEX
Videotex protocol ID. |
|
static int |
PROTOCOL_ID_VOICE
Voice protocol ID. |
|
static int |
PROTOCOL_ID_X400
X400 protocol ID. |
|
static int |
PROTOCOL_MEANING_RAW_DATA
Protocol meaning raw data. |
|
static int |
PROTOCOL_MEANING_RESERVED
Protocol meaning reserved. |
|
static int |
PROTOCOL_MEANING_SC_SPECIFIC
Protocol meaning SC specific. |
|
static int |
PROTOCOL_MEANING_SM_AL_PROTOCOL
Protocol meaning SM/AL protocol. |
|
static int |
PROTOCOL_MEANING_SM_FUNCTIONS
Protocol meaning SM functions. |
|
static int |
PROTOCOL_MEANING_TELEMATIC_INTERWORK
Protocol meaning telematic interwork. |
Constructor Summary | ||
---|---|---|
SMSParameters()
Constructs a new SMSParameters instance. |
Method Summary | ||
---|---|---|
String |
getCallbackAddress()
Retrieves the callback address. |
|
int |
getCallbackPlan()
Retrieves the callback numbering plan. |
|
int |
getCallbackType()
Retrieves the callback type of number. |
|
int |
getDeliveryPeriod()
Retrieves the delivery period. |
|
int |
getLanguage()
Retrieves the language used. |
|
int |
getMessageClass()
Retrieves the message class. |
|
int |
getMessageCoding()
Retrieves the message coding. |
|
String |
getPeerAddress()
Retrieves the peer user's address. |
|
int |
getPeerPlan()
Retrieves the peer user's plan type. |
|
int |
getPeerType()
Retrieves the peer user's type. |
|
int |
getPriority()
Retrieves the priority of the message. |
|
int |
getPrivacy()
Retrieves the privacy setting. |
|
int |
getProtocolId()
Retrieves the protocol ID for these parameters. |
|
int |
getProtocolMeaning()
Retrieves the protocol meaning for these parameters. |
|
String |
getSCAddress()
Retrieves the service centre address. |
|
int |
getSCPlan()
Retrieves the service centre number plan. |
|
int |
getSCType()
Retrieves the service centre number type. |
|
int |
getValidityPeriod()
Retrieves the validity period. |
|
void |
reset()
Resets these parameters to default values. |
|
void |
setCallbackAddress(String callbackAddress)
Sets the callback address. |
|
void |
setCallbackAddress(String callbackAddress,
int callbackType,
int callbackPlan)
Sets the callback address, type, and plan. |
|
void |
setDeliveryPeriod(int deliveryPeriod)
Sets the delivery period for the message. |
|
void |
setLanguage(int language)
Sets the language for the message. |
|
void |
setMessageClass(int messageClass)
Sets the message class. |
|
void |
setMessageCoding(int messageCoding)
Sets the message coding. |
|
void |
setPeerAddress(String peerAddress)
Sets the peer user's address. |
|
void |
setPeerAddress(String peerAddress,
int peerType,
int peerPlan)
Sets the peer user's address, type, and plan. |
|
void |
setPriority(int priority)
Sets the priority for the message. |
|
void |
setPrivacy(int privacy)
Sets the privacy for the message. |
|
void |
setProtocolId(int protocolId)
Sets the protocol ID for these parameters. |
|
void |
setProtocolMeaning(int protocolMeaning)
Sets the protocol meaning for these parameters. |
|
void |
setSCAddress(String scAddress)
Sets the service centre address. |
|
void |
setSCAddress(String scAddress,
int scType,
int scPlan)
Sets the service centre's address, type, and plan. |
|
void |
setValidityPeriod(int validityPeriod)
Sets the validity period for the message. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NUM_UNKNOWN
public static final int NUM_INTERNATIONAL
public static final int NUM_NATIONAL
public static final int NUM_NETWORK_SPEC
public static final int NUM_SUBSCRIBER
public static final int NUM_ALPHANUMERIC
public static final int NUM_ABBREVIATED
public static final int NUM_RESERVED
public static final int NUM_EMAIL
public static final int PLAN_UNKNOWN
public static final int PLAN_ISDN
public static final int PLAN_DATA
public static final int PLAN_TELEX
public static final int PLAN_NATIONAL
public static final int PLAN_PRIVATE
public static final int PLAN_ERMES
public static final int PLAN_RESERVED
public static final int PROTOCOL_MEANING_SM_AL_PROTOCOL
public static final int PROTOCOL_MEANING_TELEMATIC_INTERWORK
public static final int PROTOCOL_MEANING_SM_FUNCTIONS
public static final int PROTOCOL_MEANING_RESERVED
public static final int PROTOCOL_MEANING_SC_SPECIFIC
public static final int PROTOCOL_MEANING_RAW_DATA
public static final int PROTOCOL_ID_IMPLICIT
public static final int PROTOCOL_ID_TELEX
public static final int PROTOCOL_ID_GRP3_FAX
public static final int PROTOCOL_ID_GRP4_FAX
public static final int PROTOCOL_ID_VOICE
public static final int PROTOCOL_ID_ERMES
public static final int PROTOCOL_ID_NAT_PAGING
public static final int PROTOCOL_ID_VIDEOTEX
public static final int PROTOCOL_ID_UNSPEC_TELETEX
public static final int PROTOCOL_ID_PSPDN_TELETEX
public static final int PROTOCOL_ID_CSPDN_TELETEX
public static final int PROTOCOL_ID_PSTN_TELETEX
public static final int PROTOCOL_ID_ISDN_TELETEX
public static final int PROTOCOL_ID_UCI
public static final int PROTOCOL_ID_MSG_HANDLING
public static final int PROTOCOL_ID_X400
public static final int PROTOCOL_ID_INTERNET_EMAIL
public static final int PROTOCOL_ID_SC_SPECIFIC_1
public static final int PROTOCOL_ID_SC_SPECIFIC_2
public static final int PROTOCOL_ID_SC_SPECIFIC_3
public static final int PROTOCOL_ID_SC_SPECIFIC_4
public static final int PROTOCOL_ID_SC_SPECIFIC_5
public static final int PROTOCOL_ID_SC_SPECIFIC_6
public static final int PROTOCOL_ID_SC_SPECIFIC_7
public static final int PROTOCOL_ID_GSM_MS
public static final int PROTOCOL_ID_SM_TYPE0
public static final int PROTOCOL_ID_REPLACE_SM_TYPE1
public static final int PROTOCOL_ID_REPLACE_SM_TYPE2
public static final int PROTOCOL_ID_REPLACE_SM_TYPE3
public static final int PROTOCOL_ID_REPLACE_SM_TYPE4
public static final int PROTOCOL_ID_REPLACE_SM_TYPE5
public static final int PROTOCOL_ID_REPLACE_SM_TYPE6
public static final int PROTOCOL_ID_REPLACE_SM_TYPE7
public static final int PROTOCOL_ID_RETURN_CALL_MSG
public static final int PROTOCOL_ID_DEPERSONALIZATION_SM
public static final int PROTOCOL_ID_SIM_DATA_DOWNLOAD
public static final int PERIOD_IMMEDIATE
public static final int PERIOD_INDEFINITE
public static final int PERIOD_TILL_ACTIVE
public static final int PERIOD_TILL_AREA
public static final int MESSAGE_CODING_DEFAULT
The message is coded using the default 7-bit GSM alphabet, and can consist of up to 160 characters.
public static final int MESSAGE_CODING_8_BIT
The message has user-defined coding, and can consist of up to 140 bytes.
public static final int MESSAGE_CODING_UCS2
The message is coded using the UCS2 alphabet, and can consist of up to 70 UCS2 characters.
public static final int MESSAGE_CODING_KOREAN_KSX1001
The message is coded using the Korean alphabet, and can consist of up to 70 characters.
public static final int MESSAGE_CODING_ASCII
The message is coded using 7-bit ASCII, and can consist of up to 160 characters.
public static final int MESSAGE_CODING_ISO8859_1
The message is coded using the 8-bit IS0 8859-1 Latin alphabet, and can consist of up to 160 characters.
public static final int MESSAGE_CLASS_0
public static final int MESSAGE_CLASS_1
public static final int MESSAGE_CLASS_2
public static final int MESSAGE_CLASS_3
public static final int MESSAGE_CLASS_NOT_GIVEN
public static final int PRIORITY_NORMAL
public static final int PRIORITY_INTERACTIVE
public static final int PRIORITY_URGENT
public static final int PRIORITY_EMERGENCY
public static final int PRIORITY_NONE
public static final int PRIVACY_NORMAL
public static final int PRIVACY_RESTRICTED
public static final int PRIVACY_CONFIDENTIAL
public static final int PRIVACY_SECRET
public static final int PRIVACY_NONE
public static final int LANGUAGE_UNSPECIFIED
public static final int LANGUAGE_ENGLISH
public static final int LANGUAGE_FRENCH
public static final int LANGUAGE_SPANISH
public static final int LANGUAGE_JAPANESE
public static final int LANGUAGE_KOREAN
public static final int LANGUAGE_CHINESE
public static final int LANGUAGE_HEBREW
public static final int LANGUAGE_NONE
Constructor Detail |
---|
public SMSParameters()
Method Detail |
---|
public void reset()
public String getPeerAddress()
public int getPeerType()
public int getPeerPlan()
One of this class's PLAN_* constants.
public void setPeerAddress(String peerAddress)
peerAddress
- New address for the peer user.public void setPeerAddress(String peerAddress, int peerType, int peerPlan)
peerAddress
- New address for the peer user.peerType
- Type for the peer user.peerPlan
- Plan type for the peer user.public String getSCAddress()
public int getSCType()
public int getSCPlan()
public void setSCAddress(String scAddress)
scAddress
- New service centre address.public void setSCAddress(String scAddress, int scType, int scPlan)
scAddress
- Service centre address.scType
- Service centre type.scPlan
- Service centre plan.public int getProtocolMeaning()
public void setProtocolMeaning(int protocolMeaning)
protocolMeaning
- One of the PROTOCOL_MEANING_* values.public int getProtocolId()
public void setProtocolId(int protocolId)
protocolID
- One of the PROTOCOL_ID_* values.public int getMessageCoding()
public void setMessageCoding(int messageCoding)
messageCoding
- One of the MESSAGE_CODING_* values.public int getMessageClass()
public void setMessageClass(int messageClass)
messageClass
- One of the MESSAGE_CLASS_* values.public int getValidityPeriod()
public void setValidityPeriod(int validityPeriod)
validityPeriod
- New validity period (one of the PERIOD_* values).public int getPrivacy()
public void setPrivacy(int privacy)
privacy
- One of the PRIVACY_* values.public int getPriority()
public void setPriority(int priority)
priority
- One of the PRIORITY_* values.public int getLanguage()
public void setLanguage(int language)
language
- One of the LANGUAGE_* values.public String getCallbackAddress()
public int getCallbackType()
public int getCallbackPlan()
public void setCallbackAddress(String callbackAddress)
Callback
- address.public void setCallbackAddress(String callbackAddress, int callbackType, int callbackPlan)
callbackAddress
- Callback address.callbackType
- Callback type.callbackPlan
- Callback plan.public int getDeliveryPeriod()
public void setDeliveryPeriod(int deliveryPeriod)
deliveryPeriod
- One of the delivery PERIOD_* values.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal