Criteria.HorizontalAccuracy Property

Definition

Returns a constant indicating the desired horizontal accuracy (latitude and longitude). -or- Indicates the desired horizontal accuracy (latitude and longitude).

public virtual Android.Locations.Accuracy HorizontalAccuracy { [Android.Runtime.Register("getHorizontalAccuracy", "()I", "GetGetHorizontalAccuracyHandler")] get; [Android.Runtime.Register("setHorizontalAccuracy", "(I)V", "GetSetHorizontalAccuracy_IHandler")] set; }
[<get: Android.Runtime.Register("getHorizontalAccuracy", "()I", "GetGetHorizontalAccuracyHandler")>]
[<set: Android.Runtime.Register("setHorizontalAccuracy", "(I)V", "GetSetHorizontalAccuracy_IHandler")>]
member this.HorizontalAccuracy : 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 the desired horizontal accuracy (latitude and longitude).

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

Property setter documentation:

Indicates the desired horizontal accuracy (latitude and longitude). Accuracy may be #ACCURACY_LOW, #ACCURACY_MEDIUM, #ACCURACY_HIGH or #NO_REQUIREMENT. More accurate location may consume more power and may take longer.

Java documentation for android.location.Criteria.setHorizontalAccuracy(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