Sdílet prostřednictvím


PhoneNumberUtils.IsWellFormedSmsAddress(String) Method

Definition

Return true iff the network portion of address is, as far as we can tell on the device, suitable for use as an SMS destination address.

[Android.Runtime.Register("isWellFormedSmsAddress", "(Ljava/lang/String;)Z", "")]
public static bool IsWellFormedSmsAddress (string? address);
[<Android.Runtime.Register("isWellFormedSmsAddress", "(Ljava/lang/String;)Z", "")>]
static member IsWellFormedSmsAddress : string -> bool

Parameters

address
String

Returns

Attributes

Remarks

Return true iff the network portion of address is, as far as we can tell on the device, suitable for use as an SMS destination address.

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