Skip to content

GeolocatorWebConfiguration 继承自: GeolocatorConfiguration

Web specific settings.

属性 ​

名称类型默认值说明
maximum_ageft.DurationValueft.Duration(()A value indicating the maximum age of a possible cached position that is acceptable to return. If set to 0, it means that the device cannot use a cached position and must attempt to retrieve the real current position.
accuracyGeolocatorPositionAccuracyGeolocatorPositionAccuracy.BESTDefines the desired accuracy that should be used to determine the location data.
distance_filterint0The minimum distance (measured in meters) a device must move horizontally before an update event is generated. Set to 0 when you want to be notified of all movements.
time_limitft.DurationValueNoneSpecifies a timeout interval. For no time limit, set to None.

关注我,学习大模型、大数据、Python等热门技术。