PhoneNumberUtils.FormatNumberToRFC3966(String, String) 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.
Formats the specified phoneNumber
to the RFC3966 representation.
[Android.Runtime.Register("formatNumberToRFC3966", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=23)]
public static string? FormatNumberToRFC3966 (string? phoneNumber, string? defaultCountryIso);
[<Android.Runtime.Register("formatNumberToRFC3966", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=23)>]
static member FormatNumberToRFC3966 : string * string -> string
Parameters
- phoneNumber
- String
the phone number to format.
- defaultCountryIso
- String
the ISO 3166-1 two letters country code in UPPER CASE.
Returns
the RFC3966 representation, or null if the given phone number is not valid.
- Attributes
Remarks
Formats the specified phoneNumber
to the RFC3966 representation.
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.