SmsMessage.GetSubmitPdu Method

Definition

Overloads

GetSubmitPdu(String, String, String, Boolean)
Obsolete.

Get an SMS-SUBMIT PDU for a destination address and a message

GetSubmitPdu(String, String, Int16, Byte[], Boolean)
Obsolete.

Get an SMS-SUBMIT PDU for a destination address and a message

GetSubmitPdu(String, String, String, Boolean)

Caution

deprecated

Get an SMS-SUBMIT PDU for a destination address and a message

[Android.Runtime.Register("getSubmitPdu", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Landroid/telephony/gsm/SmsMessage$SubmitPdu;", "")]
[System.Obsolete("deprecated")]
public static Android.Telephony.Gsm.SmsMessage.SubmitPdu? GetSubmitPdu (string? scAddress, string? destinationAddress, string? message, bool statusReportRequested);
[<Android.Runtime.Register("getSubmitPdu", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)Landroid/telephony/gsm/SmsMessage$SubmitPdu;", "")>]
[<System.Obsolete("deprecated")>]
static member GetSubmitPdu : string * string * string * bool -> Android.Telephony.Gsm.SmsMessage.SubmitPdu

Parameters

scAddress
String

Service Centre address. Null means use default.

destinationAddress
String
message
String
statusReportRequested
Boolean

Returns

a <code>SubmitPdu</code> containing the encoded SC address, if applicable, and the encoded message. Returns null on encode error.

Attributes

Remarks

Java documentation for android.telephony.gsm.SmsMessage.getSubmitPdu(java.lang.String, java.lang.String, java.lang.String, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetSubmitPdu(String, String, Int16, Byte[], Boolean)

Caution

deprecated

Get an SMS-SUBMIT PDU for a destination address and a message

[Android.Runtime.Register("getSubmitPdu", "(Ljava/lang/String;Ljava/lang/String;S[BZ)Landroid/telephony/gsm/SmsMessage$SubmitPdu;", "")]
[System.Obsolete("deprecated")]
public static Android.Telephony.Gsm.SmsMessage.SubmitPdu? GetSubmitPdu (string? scAddress, string? destinationAddress, short destinationPort, byte[]? data, bool statusReportRequested);
[<Android.Runtime.Register("getSubmitPdu", "(Ljava/lang/String;Ljava/lang/String;S[BZ)Landroid/telephony/gsm/SmsMessage$SubmitPdu;", "")>]
[<System.Obsolete("deprecated")>]
static member GetSubmitPdu : string * string * int16 * byte[] * bool -> Android.Telephony.Gsm.SmsMessage.SubmitPdu

Parameters

scAddress
String

Service Centre address. Null means use default.

destinationAddress
String

the address of the destination for the message

destinationPort
Int16

the port to deliver the message to at the destination

data
Byte[]

the dat for the message

statusReportRequested
Boolean

Returns

a <code>SubmitPdu</code> containing the encoded SC address, if applicable, and the encoded message. Returns null on encode error.

Attributes

Remarks

Java documentation for android.telephony.gsm.SmsMessage.getSubmitPdu(java.lang.String, java.lang.String, java.lang.String, boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to