Android.Telephony.PhoneNumberUtils.FormatNanpNumber Method
Formats a phone number in-place using the NANP formatting rules.

Syntax

[Android.Runtime.Register("formatNanpNumber", "(Landroid/text/Editable;)V", "")]
[System.Obsolete("deprecated")]
public static void FormatNanpNumber (Android.Text.IEditable text)

Parameters

text
the number to be formatted, will be modified with the formatting

Remarks

Formats a phone number in-place using the NANP formatting rules. Numbers will be formatted as:

xxxxx xxx-xxxx xxx-xxx-xxxx 1-xxx-xxx-xxxx +1-xxx-xxx-xxxx

[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