Share via


PhoneNumberUtils.NumberToCalledPartyBCD Method

Definition

Overloads

NumberToCalledPartyBCD(String, BcdExtendedType)

Convert a dialing number to BCD byte array

NumberToCalledPartyBCD(String)

Convert a dialing number to BCD byte array

NumberToCalledPartyBCD(String, BcdExtendedType)

Convert a dialing number to BCD byte array

[Android.Runtime.Register("numberToCalledPartyBCD", "(Ljava/lang/String;I)[B", "", ApiSince=28)]
public static byte[]? NumberToCalledPartyBCD (string? number, Android.Telephony.BcdExtendedType bcdExtType);
[<Android.Runtime.Register("numberToCalledPartyBCD", "(Ljava/lang/String;I)[B", "", ApiSince=28)>]
static member NumberToCalledPartyBCD : string * Android.Telephony.BcdExtendedType -> byte[]

Parameters

number
String

dialing number string. If the dialing number starts with '+', set to international TOA

bcdExtType
BcdExtendedType

used to determine the extended bcd coding

Returns

Byte[]

BCD byte array

Attributes

Remarks

Convert a dialing number to BCD byte array

Java documentation for android.telephony.PhoneNumberUtils.numberToCalledPartyBCD(java.lang.String, int).

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

NumberToCalledPartyBCD(String)

Convert a dialing number to BCD byte array

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

Parameters

number
String

dialing number string. If the dialing number starts with '+', set to international TOA

Returns

Byte[]

BCD byte array

Attributes

Remarks

Convert a dialing number to BCD byte array

This member is deprecated. use #numberToCalledPartyBCD(String, int) instead. Calling this method is equivalent to calling #numberToCalledPartyBCD(String, int) with #BCD_EXTENDED_TYPE_EF_ADN as the extended type.

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