Language

QueryLocationException.Code Property

Definition

Gets the error code stored in this exception.

public Android.Telecom.QueryLocationErrorReason Code { [Android.Runtime.Register("getCode", "()I", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getCode", "()I", "", ApiSince=34)>]
member this.Code : Android.Telecom.QueryLocationErrorReason

Property Value

The stored error code. It can be one of the following: RequestTimeOut; PreviousRequestExists; NotPermitted; NotAllowedForNonEmergencyConnections; ServiceUnavailable; Unspecified. Other values can be supplied to the constructor.

Attributes

Remarks

The value is the error code supplied to the constructor, or Unspecified if no code was supplied.

Applies to