public class SmsHeaderElement
extends java.lang.Object
SmsHeader
Modifier and Type | Field and Description |
---|---|
static int |
APPL_PORT_ADDR_16_BIT
Element ID: Applicatoin Port Addressing, 16 bit port number
|
static int |
APPL_PORT_ADDR_8_BIT
Element ID: Application Port Addressing, 8bit port number
|
static int |
CONCAT_SM_16BIT_REF
Element ID: Concatenated Short Message, 16bit reference number
|
static int |
CONCAT_SM_8BIT_REF
Element ID: Concatenated Short Message, 8bit reference number
|
static int |
EMS_LARGE_ANIM
Element ID: EMS large animation
|
static int |
EMS_LARGE_PICTURE
Element ID: EMS large picture
|
static int |
EMS_PREDEF_ANIM
Element ID: EMS predefined animation
|
static int |
EMS_PREDEF_SOUND
Element ID: EMS predefined sound
|
static int |
EMS_PROMPT_INDICATOR
Element ID: EMS User Prompt Indicator
|
static int |
EMS_SMALL_ANIM
Element ID: EMS small animation
|
static int |
EMS_SMALL_PICTURE
Element ID: EMS small picture
|
static int |
EMS_TEXT_FMT
Element ID: EMS text format
|
static int |
EMS_USERDEF_SOUND
Element ID: EMS user-defined sound
|
static int |
EMS_VARIABLE_PICTURE
Element ID: EMS variable picture
|
static int |
SMSC_CONTROL_PARAMS
Element ID: SMSC Control Parameters
|
static int |
SPECIAL_SMS_INDICATION
Element ID: Special SMS Indication
|
static int |
UDH_SRC_INDICATION
Element ID: UDH Source indicator
|
static int |
WCMP
Element ID: Wireless Control Message Protocol
|
Constructor and Description |
---|
SmsHeaderElement(int elementID,
byte[] data)
Construct a new UDH Element.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Get the binary representation of the Header Element.
|
byte[] |
getData()
Get the Element data.
|
int |
getID()
Get the ID of this Header Element.
|
int |
getLength()
Get the length of the Element data.
|
void |
setData(byte[] data)
Set the data for this Header Element.
|
java.lang.String |
toString() |
public static final int CONCAT_SM_8BIT_REF
public static final int SPECIAL_SMS_INDICATION
public static final int APPL_PORT_ADDR_8_BIT
public static final int APPL_PORT_ADDR_16_BIT
public static final int SMSC_CONTROL_PARAMS
public static final int UDH_SRC_INDICATION
public static final int CONCAT_SM_16BIT_REF
public static final int WCMP
public static final int EMS_TEXT_FMT
public static final int EMS_PREDEF_SOUND
public static final int EMS_USERDEF_SOUND
public static final int EMS_PREDEF_ANIM
public static final int EMS_LARGE_ANIM
public static final int EMS_SMALL_ANIM
public static final int EMS_LARGE_PICTURE
public static final int EMS_SMALL_PICTURE
public static final int EMS_VARIABLE_PICTURE
public static final int EMS_PROMPT_INDICATOR
public SmsHeaderElement(int elementID, byte[] data)
elementID
- the Element IDdata
- the Element datapublic int getID()
public void setData(byte[] data)
data
- Element datapublic byte[] getData()
public int getLength()
public byte[] getBytes()
public java.lang.String toString()
toString
in class java.lang.Object
object XP, Inc. © 2000-2013. All rights reserved object XP