PhoneNumberUtils.FormatNanpNumber(IEditable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Formats a phone number in-place using the NANP formatting rules.
[Android.Runtime.Register("formatNanpNumber", "(Landroid/text/Editable;)V", "")]
[System.Obsolete("deprecated")]
public static void FormatNanpNumber (Android.Text.IEditable? text);
[<Android.Runtime.Register("formatNanpNumber", "(Landroid/text/Editable;)V", "")>]
[<System.Obsolete("deprecated")>]
static member FormatNanpNumber : Android.Text.IEditable -> unit
Parameters
- text
- IEditable
the number to be formatted, will be modified with the formatting
- Attributes
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
This member is deprecated. Use link #formatNumber(String phoneNumber, String defaultCountryIso) instead
Java documentation for android.telephony.PhoneNumberUtils.formatNanpNumber(android.text.Editable)
.
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.