Share via


PhoneNumberUtils.FormatJapaneseNumber(IEditable) Method

Definition

Caution

deprecated

Formats a phone number in-place using the Japanese formatting rules.

[Android.Runtime.Register("formatJapaneseNumber", "(Landroid/text/Editable;)V", "")]
[System.Obsolete("deprecated")]
public static void FormatJapaneseNumber (Android.Text.IEditable? text);
[<Android.Runtime.Register("formatJapaneseNumber", "(Landroid/text/Editable;)V", "")>]
[<System.Obsolete("deprecated")>]
static member FormatJapaneseNumber : 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 Japanese formatting rules. Numbers will be formatted as:

03-xxxx-xxxx 090-xxxx-xxxx 0120-xxx-xxx +81-3-xxxx-xxxx +81-90-xxxx-xxxx

This member is deprecated. Use link #formatNumber(String phoneNumber, String defaultCountryIso) instead

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

Applies to