|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserData
Interface for objects that can represent TP-User-Data as defined by 3GPP TS 23.040.
Experimental API: UserData and its supporting classes and implementations are an experimental API and can change or be removed at any time.
| Method Summary | |
|---|---|
void |
addHeaderElement(HeaderElement element)
Add a HeaderElement to this user data implementation. |
byte[] |
getData()
Get the payload of this user data. |
boolean |
isMultiMessage()
Calculate if this user data requires multiple SMS segments. |
void |
setData(byte[] data)
Set the payload of this user data. |
byte[][] |
toSegments()
Get the user data SMS segments. |
byte[] |
toSingleSms()
Get the user data as a single message. |
| Method Detail |
|---|
void addHeaderElement(HeaderElement element)
HeaderElement to this user data implementation.
element - The header element to add.boolean isMultiMessage()
byte[] toSingleSms()
isMultiMessage() returns false.
IllegalStateException - If this user data requires more
than one SMS segment.byte[][] toSegments()
byte[] getData()
void setData(byte[] data)
data - The payload of this user data.getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||