|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface USATEnvelopeHandler
The USATEnvelopeHandler interface contains basic methods to handle the SMS Envelope data field. This interface will be used by the Toolkit applet in order to have access to the current SMS Envelope information. No constructor is available for the Toolkit applet.
EnvelopeHandler| Method Summary | |
|---|---|
short |
getSecuredDataLength()
Looks for the length of the Secured Data from the Command Packet in the first SMS TPDU or Cell Broadcast Page Simple or USSD String TLV contained in the Envelope handler. |
short |
getSecuredDataOffset()
Looks for the Secured Data from the Command Packet in the first SMS TPDU or Cell Broadcast Page Simple TLV or USSD String TLV contained in the Envelope handler. This can be used on the events: EVENT_FORMATTED_SMS_PP_ENV, EVENT_FORMATTED_SMS_PP_UPD, if the SMS TP-UD is formatted according to TS 31.115 Single or Concatenated Short Message. |
short |
getShortMessageLength()
Looks for the length of the Short Message in the User Data part of the first SMS TPDU or Cell Broadcast Page COMPREHENSION TLV contained in the USATEnvelopeHandler. This can be used on the events: EVENT_FORMATTED_SMS_PP_ENV, EVENT_FORMATTED_SMS_PP_UPD, EVENT_UNFORMATTED_SMS_PP_ENV, EVENT_UNFORMATTED_SMS_PP_UPD. |
short |
getShortMessageOffset()
Looks for the Short Message offset in the User Data part of the first SMS TPDU or of the first Cell Broadcast Page Simple TLV contained in the USATEnvelopeHandler. |
short |
getTPUDLOffset()
Looks for the TP-UDL field in the first TPDU TLV element in the Envelope data field. This method can be used on the events: EVENT_FORMATTED_SMS_PP_ENV, EVENT_FORMATTED_SMS_PP_UPD, EVENT_UNFORMATTED_SMS_PP_ENV, EVENT_UNFORMATTED_SMS_PP_UPD. If the element is available it becomes the TLV selected. |
short |
getUserDataLength()
Looks for the TP-User Data field in the first TPDU TLV element contained in the Envelope Handler. |
| Methods inherited from interface uicc.toolkit.EnvelopeHandler |
|---|
getChannelIdentifier, getChannelStatus, getItemIdentifier |
| Methods inherited from interface uicc.toolkit.BERTLVViewHandler |
|---|
getSize, getTag |
| Methods inherited from interface uicc.toolkit.ViewHandler |
|---|
compareValue, copy, copyValue, findAndCompareValue, findAndCompareValue, findAndCopyValue, findAndCopyValue, findTLV, getCapacity, getLength, getValueByte, getValueLength, getValueShort |
| Method Detail |
|---|
short getTPUDLOffset()
throws uicc.toolkit.ToolkitException
uicc.toolkit.ToolkitException - with the following reason codes: UNAVAILABLE_ELEMENT in case of unavailable TPDU TLV element or if the TPUDL field does not exist
short getSecuredDataOffset()
throws uicc.toolkit.ToolkitException
uicc.toolkit.ToolkitException - with the following reason codes: UNAVAILABLE_ELEMENT in case of unavailable SMS TPDU or Cell Broadcast Page TLV element or wrong data format
short getSecuredDataLength()
throws uicc.toolkit.ToolkitException
uicc.toolkit.ToolkitException - with the following reason codes: UNAVAILABLE_ELEMENT in case of unavailable SMS TPDU or Cell Broadcast Page or USSD String TLV element or wrong data format
short getUserDataLength()
throws uicc.toolkit.ToolkitException
uicc.toolkit.ToolkitException - with the following reason codes: UNAVAILABLE_ELEMENT in case of unavailable TPDU TLV element or wrong data format
short getShortMessageOffset()
throws uicc.toolkit.ToolkitException
uicc.toolkit.ToolkitException - with the following reason codes: UNAVAILABLE_ELEMENT in case of unavailable SMS TPDU or Cell Broadcast Page or wrong data format
short getShortMessageLength()
throws uicc.toolkit.ToolkitException
uicc.toolkit.ToolkitException - with the following reason codes: UNAVAILABLE_ELEMENT in case of unavailable SMS TPDU or Cell Broadcast Page or wrong data format
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||