ParsedPhoneNumber.ErrorCode Property

Definition

If no phone number was able to be extracted this will report the failure reason to the user.

public int ErrorCode { [Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getErrorCode", "()I", "", ApiSince=36)>]
member this.ErrorCode : int

Property Value

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

Attributes

Remarks

If no phone number was able to be extracted this will report the failure reason to the user.

Java documentation for android.telephony.ParsedPhoneNumber.getErrorCode().

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