Android.Telephony.SmsMessage: Method Members

The methods of Android.Telephony.SmsMessage are listed below. For a list of all members, see the SmsMessage Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
CalculateLength(Java.Lang.ICharSequence, bool) : int[]
Calculates the number of SMS's required to encode the message body and the number of characters remaining until the next message.
static
CalculateLength(string, bool) : int[]
Calculates the number of SMS's required to encode the message body and the number of characters remaining until the next message, given the current encoding.
static
CreateFromPdu(byte[]) : SmsMessage
Create an SmsMessage from a raw PDU.
GetMessageClass() : SmsMessage.MessageClass
Returns the class of this message.
GetPdu() : byte[]
Returns the raw PDU for the message.
static
GetSubmitPdu(string, string, string, bool) : SmsMessage.SubmitPdu
Get an SMS-SUBMIT PDU for a destination address and a message.
static
GetSubmitPdu(string, string, short, byte[], bool) : SmsMessage.SubmitPdu
Get an SMS-SUBMIT PDU for a data message to a destination address & port.
static
GetTPLayerLengthForPDU(string) : int
Get the TP-Layer-Length for the given SMS-SUBMIT PDU Basically, the length in bytes (not hex chars) less the SMSC header FIXME: This method is only used by a CTS test case that isn't run on CDMA devices.
GetUserData() : byte[]
returns the user data section minus the user data header if one was present.