主题
GeolocatorWebConfiguration 继承自: GeolocatorConfiguration
Web specific settings.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
maximum_age | ft.DurationValue | ft.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. |
accuracy | GeolocatorPositionAccuracy | GeolocatorPositionAccuracy.BEST | Defines the desired accuracy that should be used to determine the location data. |
distance_filter | int | 0 | The 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_limit | ft.DurationValue | None | Specifies a timeout interval. For no time limit, set to None. |