Aracılığıyla paylaş


SmsMessage.GetSubmitPdu Method

Definition

Overloads

GetSubmitPdu(String, String, String, Boolean)

Gets an SMS-SUBMIT PDU for a destination address and a message.

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

Gets an SMS-SUBMIT PDU for a destination address and a message.

GetSubmitPdu(String, String, String, Boolean)

Gets 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/SmsMessage$SubmitPdu;", "")]
public static Android.Telephony.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/SmsMessage$SubmitPdu;", "")>]
static member GetSubmitPdu : string * string * string * bool -> Android.Telephony.SmsMessage.SubmitPdu

Parameters

scAddress
String

Service Centre address. Null means use default.

destinationAddress
String

the address of the destination for the message.

message
String

string representation of the message payload.

statusReportRequested
Boolean

indicates whether a report is requested for this message.

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.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)

Gets 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/SmsMessage$SubmitPdu;", "")]
public static Android.Telephony.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/SmsMessage$SubmitPdu;", "")>]
static member GetSubmitPdu : string * string * int16 * byte[] * bool -> Android.Telephony.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 data for the message

statusReportRequested
Boolean

indicates whether a report is requested for this message.

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.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