The members of Android.Telephony.SmsMessage are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | MaxUserDataBytes | int (140). The maximum number of payload bytes per message |
const | MaxUserDataBytesWithHeader | int (134). The maximum number of payload bytes per message if a user data header is present. |
const | MaxUserDataSeptets | int (160). The maximum number of payload septets per message |
const | MaxUserDataSeptetsWithHeader | int (153). The maximum number of payload septets per message if a user data header is present. |
[read-only] | DisplayMessageBody | string. Returns the message body, or email message body if this message was from an email gateway. |
[read-only] | DisplayOriginatingAddress | string. Returns the originating address, or email from address if this message was from an email gateway. |
[read-only] | EmailBody | string. |
[read-only] | EmailFrom | string. |
[read-only] | IndexOnIcc | int. Returns the record index of the message on the ICC (1-based index). |
[read-only] | IndexOnSim | int. Returns the record index of the message on the SIM (1-based index). |
[read-only] | IsCphsMwiMessage | bool. Returns true for CPHS MWI toggle message. |
[read-only] | IsEmail | bool. Returns true if message is an email. |
[read-only] | IsMWIClearMessage | bool. returns true if this message is a CPHS voicemail / message waiting indicator (MWI) clear message |
[read-only] | IsMwiDontStore | bool. returns true if this message is a "Message Waiting Indication Group: Discard Message" notification and should not be stored. |
[read-only] | IsMWISetMessage | bool. returns true if this message is a CPHS voicemail / message waiting indicator (MWI) set message |
[read-only] | IsReplace | bool. See TS 23.040 9.2.3.9 returns true if this is a "replace short message" SMS |
[read-only] | IsReplyPathPresent | bool. Returns true iff the TP-Reply-Path bit is set in this message. |
[read-only] | IsStatusReportMessage | bool. Return true iff the message is a SMS-STATUS-REPORT message. |
[read-only] | MessageBody | string. Returns the message body as a String, if it exists and is text based. |
[read-only] | OriginatingAddress | string. Returns the originating address (sender) of this SMS message in String form or null if unavailable |
[read-only] | ProtocolIdentifier | int. Get protocol identifier. |
[read-only] | PseudoSubject | string. Unofficial convention of a subject line enclosed in parens empty string if not present |
[read-only] | ServiceCenterAddress | string. Returns the address of the SMS service center that relayed this message or null if there is none. |
[read-only] | Status | int. GSM: For an SMS-STATUS-REPORT message, this returns the status field from the status report. |
[read-only] | StatusOnIcc | SmsStatus. Returns the status of the message on the ICC (read, unread, sent, unsent). |
[read-only] | StatusOnSim | Android.Telephony.Gsm.SmsStatusOnSim. Returns the status of the message on the SIM (read, unread, sent, unsent). |
[read-only] | TimestampMillis | long. Returns the service centre timestamp in currentTimeMillis() format |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
static | CalculateLength(Java.Lang.ICharSequence, bool)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)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[])Create an SmsMessage from a raw PDU. | |
GetMessageClass()Returns the class of this message. | ||
GetPdu()Returns the raw PDU for the message. | ||
static | GetSubmitPdu(string, string, string, bool)Get an SMS-SUBMIT PDU for a destination address and a message. | |
static | GetSubmitPdu(string, string, short, byte[], bool)Get an SMS-SUBMIT PDU for a data message to a destination address & port. | |
static | GetTPLayerLengthForPDU(string)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()returns the user data section minus the user data header if one was present. |