Get originating address

Returns the originating address (sender) of this SMS message in String form or null if unavailable

Create from PDU

Create a SMS Message from a raw PDU with the specified message format. The message format is passed in the SMS_RECEIVED_ACTION as the format String extra, and will be either “3gpp” for GSM/UMTS/LTE messages in 3GPP format or “3gpp2” for CDMA/LTE messages in 3GPP2 format.

Get display message body

Returns the message body, or email message body if this message was from an email gateway. Returns null if message body unavailable.