PhoneNumberUtils.FormatNumberToE164(String, String) PhoneNumberUtils.FormatNumberToE164(String, String) Method

Definition

Formats the specified phoneNumber to the E.164 representation.

[Android.Runtime.Register("formatNumberToE164", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=21)]
public static string FormatNumberToE164 (string phoneNumber, string defaultCountryIso);
static member FormatNumberToE164 : string * string -> string

Parameters

phoneNumber
String String

the phone number to format.

defaultCountryIso
String String

the ISO 3166-1 two letters country code.

Returns

Remarks

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