|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.samsung.util.SM
The SM
is the class contains the destination phone number, callback phone number and text messages.
Constructor Summary | |
SM()
Constructs a new instance of Short Message |
|
SM(java.lang.String dest,
java.lang.String callback,
java.lang.String textMessage)
Constructs a new instance of Short Message with destinationAddress, callbackAddress and text message. |
Method Summary | |
java.lang.String |
getCallbackAddress()
Gets callback phone number. |
java.lang.String |
getData()
Gets message which will be sent. |
java.lang.String |
getDestAddress()
Gets destination phone number. |
void |
setCallbackAddress(java.lang.String address)
Sets the callback address for sending message. |
void |
setData(java.lang.String textMessage)
Sets text message which will be sent. |
void |
setDestAddress(java.lang.String address)
Sets the destination address for sending message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SM()
Short Message
public SM(java.lang.String dest, java.lang.String callback, java.lang.String textMessage)
Short Message
with destinationAddress, callbackAddress and text message.
java.lang.IllegalArgumentException
- if the length of textMessage
exceeds 80.
or dest
is invalid phone number.Method Detail |
public void setDestAddress(java.lang.String address)
java.lang.IllegalArgumentException
- if address
is invalid phone number.public void setCallbackAddress(java.lang.String address)
public void setData(java.lang.String textMessage)
java.lang.IllegalArgumentException
- if the length of textMessage
exceeds 80.public java.lang.String getDestAddress()
public java.lang.String getCallbackAddress()
public java.lang.String getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |