Language

PhoneNumberUtils.NetworkPortionToCalledPartyBCDWithLength(String) Method

Definition

Same as #networkPortionToCalledPartyBCD, but includes a one-byte length prefix.

[Android.Runtime.Register("networkPortionToCalledPartyBCDWithLength", "(Ljava/lang/String;)[B", "")]
public static byte[]? NetworkPortionToCalledPartyBCDWithLength(string? s);
[<Android.Runtime.Register("networkPortionToCalledPartyBCDWithLength", "(Ljava/lang/String;)[B", "")>]
static member NetworkPortionToCalledPartyBCDWithLength : string -> byte[]

Parameters

s
String

The phone-number text whose network portion is to be encoded.

Returns

Byte[]

The BCD network number with a length byte followed by a type-of-address byte, or null when the network portion is empty or consists only of a plus sign.

Attributes

Remarks

Same as #networkPortionToCalledPartyBCD, but includes a one-byte length prefix.

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