Freigeben über


PhoneNumberUtils.ToaFromString(String) Method

Definition

Returns the TOA for the given dial string Basically, returns TOA_International if there's a + prefix

[Android.Runtime.Register("toaFromString", "(Ljava/lang/String;)I", "")]
public static int ToaFromString (string? s);
[<Android.Runtime.Register("toaFromString", "(Ljava/lang/String;)I", "")>]
static member ToaFromString : string -> int

Parameters

s
String

Returns

Attributes

Remarks

Returns the TOA for the given dial string Basically, returns TOA_International if there's a + prefix

Java documentation for android.telephony.PhoneNumberUtils.toaFromString(java.lang.String).

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