Condividi tramite


Criteria.Accuracy Property

Definition

Returns a constant indicating desired accuracy of location. -or- Indicates the desired accuracy for latitude and longitude.

public virtual Android.Locations.Accuracy Accuracy { [Android.Runtime.Register("getAccuracy", "()I", "GetGetAccuracyHandler")] get; [Android.Runtime.Register("setAccuracy", "(I)V", "GetSetAccuracy_IHandler")] set; }
[<get: Android.Runtime.Register("getAccuracy", "()I", "GetGetAccuracyHandler")>]
[<set: Android.Runtime.Register("setAccuracy", "(I)V", "GetSetAccuracy_IHandler")>]
member this.Accuracy : Android.Locations.Accuracy with get, set

Property Value

Attributes

Exceptions

if accuracy is not one of the supported constants

Remarks

Property getter documentation:

Returns a constant indicating desired accuracy of location.

Java documentation for android.location.Criteria.getAccuracy().

Property setter documentation:

Indicates the desired accuracy for latitude and longitude. Accuracy may be #ACCURACY_FINE or #ACCURACY_COARSE. More accurate location may consume more power and may take longer.

Java documentation for android.location.Criteria.setAccuracy(int).

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