次の方法で共有


SmsMessage.GetTPLayerLengthForPDU(String) Method

Definition

Caution

deprecated

Get the TP-Layer-Length for the given SMS-SUBMIT PDU Basically, the length in bytes (not hex chars) less the SMSC header

[Android.Runtime.Register("getTPLayerLengthForPDU", "(Ljava/lang/String;)I", "")]
[System.Obsolete("deprecated")]
public static int GetTPLayerLengthForPDU (string? pdu);
[<Android.Runtime.Register("getTPLayerLengthForPDU", "(Ljava/lang/String;)I", "")>]
[<System.Obsolete("deprecated")>]
static member GetTPLayerLengthForPDU : string -> int

Parameters

pdu
String

Returns

Attributes

Remarks

Get the TP-Layer-Length for the given SMS-SUBMIT PDU Basically, the length in bytes (not hex chars) less the SMSC header

This member is deprecated. Use android.telephony.SmsMessage.

Java documentation for android.telephony.gsm.SmsMessage.getTPLayerLengthForPDU(java.lang.String).

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