Język

ParsedPhoneNumber(String, Int32, Boolean) Constructor

Definition

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;IZ)V", "", ApiSince=36)]
public ParsedPhoneNumber(string phoneNumber, int errorCode, bool isValidPhoneNumber);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;IZ)V", "", ApiSince=36)>]
new Android.Telephony.ParsedPhoneNumber : string * int * bool -> Android.Telephony.ParsedPhoneNumber

Parameters

phoneNumber
String

the phone number extracted. Empty if we weren't successful in parsing. This value cannot be null.

errorCode
Int32

ErrorType seen when trying to extract phone number. Value is one of the following: ERROR_TYPE_UNKNOWN; ERROR_TYPE_NONE; ERROR_TYPE_FAILED_TO_VALIDATE_EXTRACTED_PHONE_NUMER; ERROR_TYPE_NUMBER_PARSE_EXCEPTION

isValidPhoneNumber
Boolean

whether or not we succeeded in retrieving the number.

Attributes

Remarks

Android reference for android.telephony.ParsedPhoneNumber.ParsedPhoneNumber.

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