|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShortMessage
Generic SMS interface.
| Method Summary | |
|---|---|
byte[] |
getData()
Gets binary representation of the payload of this message. |
int |
getEncoding()
Gets encdong scheme of this message. |
java.lang.String |
getOriginator()
Gets the address of the origination party. |
java.lang.String |
getRecipient()
Gets address of the recipent of this message. |
int |
getStatus()
Gets status/result for this message. |
java.lang.String |
getText()
Gets text representation of the payload. |
void |
setData(byte[] data)
Modify payload of this message. |
void |
setEncoding(int encoding)
Modify encoding scheme of this message. |
void |
setOriginator(java.lang.String originator)
Modify the address of the origination party. |
void |
setRecipient(java.lang.String recipient)
Modify address of the recipient. |
void |
setText(java.lang.String text)
Modify payload of this message. |
| Method Detail |
|---|
java.lang.String getOriginator()
void setOriginator(java.lang.String originator)
origination - the address of the originated party in E164 format.java.lang.String getRecipient()
void setRecipient(java.lang.String recipient)
recepient - the address of the recipient in E164 format.int getEncoding()
void setEncoding(int encoding)
encoding - the constant which indicates the encoding scheme.java.lang.String getText()
void setText(java.lang.String text)
text - the new payload as text.byte[] getData()
void setData(byte[] data)
data - the payload of this message.int getStatus()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||