Android.Telephony.PhoneNumberUtils.FormatNumber Method
Format a phone number.

Syntax

[Android.Runtime.Register("formatNumber", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string FormatNumber (string phoneNumber, string defaultCountryIso)

Parameters

phoneNumber
the number to be formatted.
defaultCountryIso
the ISO 3166-1 two letters country code whose convention will be used if the given number doesn't have the country code.

Returns

Documentation for this section has not yet been entered.

Remarks

Format a phone number.

If the given number doesn't have the country code, the phone will be formatted to the default country's convention.

[Android Documentation]

Requirements

Namespace: Android.Telephony
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1