次の方法で共有


SmsMessage.GetTPLayerLengthForPDU(String) Method

Definition

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", "")]
public static int GetTPLayerLengthForPDU (string? pdu);
[<Android.Runtime.Register("getTPLayerLengthForPDU", "(Ljava/lang/String;)I", "")>]
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

FIXME: This method is only used by a CTS test case that isn't run on CDMA devices. We should probably deprecate it and remove the obsolete test case.

Java documentation for android.telephony.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