GeoPositionAccuracy GeoPositionAccuracy GeoPositionAccuracy GeoPositionAccuracy Enum

定义

为应用程序所使用的位置数据指定请求的精度级别。Specifies the requested accuracy level for the location data that the application uses.

public enum class GeoPositionAccuracy
public enum GeoPositionAccuracy
type GeoPositionAccuracy = 
Public Enum GeoPositionAccuracy
继承
GeoPositionAccuracyGeoPositionAccuracyGeoPositionAccuracyGeoPositionAccuracy

字段

Default Default Default Default 0

优化电源、性能和其他成本考虑。Optimize for power, performance, and other cost considerations.

High High High High 1

提供可能获得的最准确的报告。Deliver the most accurate report possible. 这包括使用可能收费的服务或消耗更高级别的电池电量或连接带宽。This includes using services that might charge money, or consuming higher levels of battery power or connection bandwidth.

注解

可以在的构造函数GeoCoordinateWatcher中指定请求的准确性。The requested accuracy can be specified in the constructor for GeoCoordinateWatcher. 如果未指定, GeoCoordinateWatcher则创建时的准确性级别为默认值。If not specified, the GeoCoordinateWatcher is created with an accuracy level of Default. 高精度级别可能会降低系统性能, 并且仅在必要时才使用。An accuracy level of High may degrade system performance and should be used only when necessary.

适用于

另请参阅