winrt-Windows.Devices.Geolocation 3.2.1__cp314-cp314-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,375 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
12
+ import winrt.system
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+
16
+ from winrt.windows.devices.geolocation import AltitudeReferenceSystem, GeolocationAccessStatus, GeoshapeType, PositionAccuracy, PositionSource, PositionStatus, VisitMonitoringScope, VisitStateChange
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class BasicGeoposition:
22
+ @_property
23
+ def latitude(self) -> winrt.system.Double: ...
24
+ @_property
25
+ def longitude(self) -> winrt.system.Double: ...
26
+ @_property
27
+ def altitude(self) -> winrt.system.Double: ...
28
+ def __new__(cls, latitude: winrt.system.Double = 0, longitude: winrt.system.Double = 0, altitude: winrt.system.Double = 0) -> BasicGeoposition: ...
29
+ def __replace__(self, /, **changes: typing.Any) -> BasicGeoposition: ...
30
+ def unpack(self) -> typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]: ...
31
+
32
+ @typing.final
33
+ class CivicAddress(winrt.system.Object):
34
+ # System.String Windows.Devices.Geolocation.CivicAddress::get_City()
35
+ @_property
36
+ def city(self) -> str: ...
37
+ # System.String Windows.Devices.Geolocation.CivicAddress::get_Country()
38
+ @_property
39
+ def country(self) -> str: ...
40
+ # System.String Windows.Devices.Geolocation.CivicAddress::get_PostalCode()
41
+ @_property
42
+ def postal_code(self) -> str: ...
43
+ # System.String Windows.Devices.Geolocation.CivicAddress::get_State()
44
+ @_property
45
+ def state(self) -> str: ...
46
+ # Windows.Foundation.DateTime Windows.Devices.Geolocation.CivicAddress::get_Timestamp()
47
+ @_property
48
+ def timestamp(self) -> datetime.datetime: ...
49
+
50
+ @typing.final
51
+ class GeoboundingBox_Static(winrt._winrt.IInspectable_Static):
52
+ # Windows.Devices.Geolocation.GeoboundingBox Windows.Devices.Geolocation.GeoboundingBox::TryCompute(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Geolocation.BasicGeoposition>)
53
+ def try_compute(cls, positions: typing.Iterable[BasicGeoposition], /) -> GeoboundingBox: ...
54
+ # Windows.Devices.Geolocation.GeoboundingBox Windows.Devices.Geolocation.GeoboundingBox::TryCompute(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Geolocation.BasicGeoposition>,Windows.Devices.Geolocation.AltitudeReferenceSystem)
55
+ def try_compute_with_altitude_reference(cls, positions: typing.Iterable[BasicGeoposition], altitude_ref_system: AltitudeReferenceSystem, /) -> GeoboundingBox: ...
56
+ # Windows.Devices.Geolocation.GeoboundingBox Windows.Devices.Geolocation.GeoboundingBox::TryCompute(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Geolocation.BasicGeoposition>,Windows.Devices.Geolocation.AltitudeReferenceSystem,System.UInt32)
57
+ def try_compute_with_altitude_reference_and_spatial_reference(cls, positions: typing.Iterable[BasicGeoposition], altitude_ref_system: AltitudeReferenceSystem, spatial_reference_id: winrt.system.UInt32, /) -> GeoboundingBox: ...
58
+
59
+ @typing.final
60
+ class GeoboundingBox(winrt.system.Object, IGeoshape, metaclass=GeoboundingBox_Static):
61
+ @typing.overload
62
+ def __new__(cls: typing.Type[Self], northwest_corner: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], southeast_corner: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]]) -> Self: ...
63
+ @typing.overload
64
+ def __new__(cls: typing.Type[Self], northwest_corner: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], southeast_corner: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], altitude_reference_system: AltitudeReferenceSystem) -> Self: ...
65
+ @typing.overload
66
+ def __new__(cls: typing.Type[Self], northwest_corner: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], southeast_corner: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], altitude_reference_system: AltitudeReferenceSystem, spatial_reference_id: winrt.system.UInt32) -> Self: ...
67
+ # Windows.Devices.Geolocation.BasicGeoposition Windows.Devices.Geolocation.GeoboundingBox::get_Center()
68
+ @_property
69
+ def center(self) -> BasicGeoposition: ...
70
+ # System.Double Windows.Devices.Geolocation.GeoboundingBox::get_MaxAltitude()
71
+ @_property
72
+ def max_altitude(self) -> winrt.system.Double: ...
73
+ # System.Double Windows.Devices.Geolocation.GeoboundingBox::get_MinAltitude()
74
+ @_property
75
+ def min_altitude(self) -> winrt.system.Double: ...
76
+ # Windows.Devices.Geolocation.BasicGeoposition Windows.Devices.Geolocation.GeoboundingBox::get_NorthwestCorner()
77
+ @_property
78
+ def northwest_corner(self) -> BasicGeoposition: ...
79
+ # Windows.Devices.Geolocation.BasicGeoposition Windows.Devices.Geolocation.GeoboundingBox::get_SoutheastCorner()
80
+ @_property
81
+ def southeast_corner(self) -> BasicGeoposition: ...
82
+ # Windows.Devices.Geolocation.AltitudeReferenceSystem Windows.Devices.Geolocation.GeoboundingBox::get_AltitudeReferenceSystem()
83
+ @_property
84
+ def altitude_reference_system(self) -> AltitudeReferenceSystem: ...
85
+ # Windows.Devices.Geolocation.GeoshapeType Windows.Devices.Geolocation.GeoboundingBox::get_GeoshapeType()
86
+ @_property
87
+ def geoshape_type(self) -> GeoshapeType: ...
88
+ # System.UInt32 Windows.Devices.Geolocation.GeoboundingBox::get_SpatialReferenceId()
89
+ @_property
90
+ def spatial_reference_id(self) -> winrt.system.UInt32: ...
91
+
92
+ @typing.final
93
+ class Geocircle(winrt.system.Object, IGeoshape):
94
+ @typing.overload
95
+ def __new__(cls: typing.Type[Self], position: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], radius: winrt.system.Double) -> Self: ...
96
+ @typing.overload
97
+ def __new__(cls: typing.Type[Self], position: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], radius: winrt.system.Double, altitude_reference_system: AltitudeReferenceSystem) -> Self: ...
98
+ @typing.overload
99
+ def __new__(cls: typing.Type[Self], position: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], radius: winrt.system.Double, altitude_reference_system: AltitudeReferenceSystem, spatial_reference_id: winrt.system.UInt32) -> Self: ...
100
+ # Windows.Devices.Geolocation.BasicGeoposition Windows.Devices.Geolocation.Geocircle::get_Center()
101
+ @_property
102
+ def center(self) -> BasicGeoposition: ...
103
+ # System.Double Windows.Devices.Geolocation.Geocircle::get_Radius()
104
+ @_property
105
+ def radius(self) -> winrt.system.Double: ...
106
+ # Windows.Devices.Geolocation.AltitudeReferenceSystem Windows.Devices.Geolocation.Geocircle::get_AltitudeReferenceSystem()
107
+ @_property
108
+ def altitude_reference_system(self) -> AltitudeReferenceSystem: ...
109
+ # Windows.Devices.Geolocation.GeoshapeType Windows.Devices.Geolocation.Geocircle::get_GeoshapeType()
110
+ @_property
111
+ def geoshape_type(self) -> GeoshapeType: ...
112
+ # System.UInt32 Windows.Devices.Geolocation.Geocircle::get_SpatialReferenceId()
113
+ @_property
114
+ def spatial_reference_id(self) -> winrt.system.UInt32: ...
115
+
116
+ @typing.final
117
+ class Geocoordinate(winrt.system.Object):
118
+ # System.Double Windows.Devices.Geolocation.Geocoordinate::get_Accuracy()
119
+ @_property
120
+ def accuracy(self) -> winrt.system.Double: ...
121
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.Geocoordinate::get_Altitude()
122
+ @_property
123
+ def altitude(self) -> typing.Optional[winrt.system.Double]: ...
124
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.Geocoordinate::get_AltitudeAccuracy()
125
+ @_property
126
+ def altitude_accuracy(self) -> typing.Optional[winrt.system.Double]: ...
127
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.Geocoordinate::get_Heading()
128
+ @_property
129
+ def heading(self) -> typing.Optional[winrt.system.Double]: ...
130
+ # System.Double Windows.Devices.Geolocation.Geocoordinate::get_Latitude()
131
+ @_property
132
+ def latitude(self) -> winrt.system.Double: ...
133
+ # System.Double Windows.Devices.Geolocation.Geocoordinate::get_Longitude()
134
+ @_property
135
+ def longitude(self) -> winrt.system.Double: ...
136
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.Geocoordinate::get_Speed()
137
+ @_property
138
+ def speed(self) -> typing.Optional[winrt.system.Double]: ...
139
+ # Windows.Foundation.DateTime Windows.Devices.Geolocation.Geocoordinate::get_Timestamp()
140
+ @_property
141
+ def timestamp(self) -> datetime.datetime: ...
142
+ # Windows.Devices.Geolocation.Geopoint Windows.Devices.Geolocation.Geocoordinate::get_Point()
143
+ @_property
144
+ def point(self) -> Geopoint: ...
145
+ # Windows.Devices.Geolocation.PositionSource Windows.Devices.Geolocation.Geocoordinate::get_PositionSource()
146
+ @_property
147
+ def position_source(self) -> PositionSource: ...
148
+ # Windows.Devices.Geolocation.GeocoordinateSatelliteData Windows.Devices.Geolocation.Geocoordinate::get_SatelliteData()
149
+ @_property
150
+ def satellite_data(self) -> GeocoordinateSatelliteData: ...
151
+ # Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.Devices.Geolocation.Geocoordinate::get_PositionSourceTimestamp()
152
+ @_property
153
+ def position_source_timestamp(self) -> typing.Optional[datetime.datetime]: ...
154
+ # System.Boolean Windows.Devices.Geolocation.Geocoordinate::get_IsRemoteSource()
155
+ @_property
156
+ def is_remote_source(self) -> bool: ...
157
+
158
+ @typing.final
159
+ class GeocoordinateSatelliteData(winrt.system.Object):
160
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.GeocoordinateSatelliteData::get_HorizontalDilutionOfPrecision()
161
+ @_property
162
+ def horizontal_dilution_of_precision(self) -> typing.Optional[winrt.system.Double]: ...
163
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.GeocoordinateSatelliteData::get_PositionDilutionOfPrecision()
164
+ @_property
165
+ def position_dilution_of_precision(self) -> typing.Optional[winrt.system.Double]: ...
166
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.GeocoordinateSatelliteData::get_VerticalDilutionOfPrecision()
167
+ @_property
168
+ def vertical_dilution_of_precision(self) -> typing.Optional[winrt.system.Double]: ...
169
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.GeocoordinateSatelliteData::get_GeometricDilutionOfPrecision()
170
+ @_property
171
+ def geometric_dilution_of_precision(self) -> typing.Optional[winrt.system.Double]: ...
172
+ # Windows.Foundation.IReference`1<System.Double> Windows.Devices.Geolocation.GeocoordinateSatelliteData::get_TimeDilutionOfPrecision()
173
+ @_property
174
+ def time_dilution_of_precision(self) -> typing.Optional[winrt.system.Double]: ...
175
+
176
+ @typing.final
177
+ class Geolocator_Static(winrt._winrt.IInspectable_Static):
178
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Geolocation.Geoposition>> Windows.Devices.Geolocation.Geolocator::GetGeopositionHistoryAsync(Windows.Foundation.DateTime)
179
+ # @deprecated("GetGeopositionHistoryAsync is deprecated and might not work on all platforms. For more info, see MSDN.")
180
+ def get_geoposition_history_async(cls, start_time: datetime.datetime, /) -> windows_foundation.IAsyncOperation[typing.Sequence[Geoposition]]: ...
181
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Geolocation.Geoposition>> Windows.Devices.Geolocation.Geolocator::GetGeopositionHistoryAsync(Windows.Foundation.DateTime,Windows.Foundation.TimeSpan)
182
+ # @deprecated("GetGeopositionHistoryWithDurationAsync is deprecated and might not work on all platforms. For more info, see MSDN.")
183
+ def get_geoposition_history_with_duration_async(cls, start_time: datetime.datetime, duration: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[typing.Sequence[Geoposition]]: ...
184
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.GeolocationAccessStatus> Windows.Devices.Geolocation.Geolocator::RequestAccessAsync()
185
+ def request_access_async(cls) -> windows_foundation.IAsyncOperation[GeolocationAccessStatus]: ...
186
+ # Windows.Foundation.IReference`1<Windows.Devices.Geolocation.BasicGeoposition> Windows.Devices.Geolocation.Geolocator::get_DefaultGeoposition()
187
+ @_property
188
+ def default_geoposition(cls) -> typing.Optional[BasicGeoposition]: ...
189
+ # System.Void Windows.Devices.Geolocation.Geolocator::put_DefaultGeoposition(Windows.Foundation.IReference`1<Windows.Devices.Geolocation.BasicGeoposition>)
190
+ @default_geoposition.setter
191
+ def default_geoposition(cls, value: typing.Optional[BasicGeoposition]) -> None: ...
192
+ # System.Boolean Windows.Devices.Geolocation.Geolocator::get_IsDefaultGeopositionRecommended()
193
+ @_property
194
+ def is_default_geoposition_recommended(cls) -> bool: ...
195
+
196
+ @typing.final
197
+ class Geolocator(winrt.system.Object, metaclass=Geolocator_Static):
198
+ def __new__(cls: typing.Type[Self]) -> Self: ...
199
+ # System.Void Windows.Devices.Geolocation.Geolocator::AllowFallbackToConsentlessPositions()
200
+ def allow_fallback_to_consentless_positions(self) -> None: ...
201
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.Geoposition> Windows.Devices.Geolocation.Geolocator::GetGeopositionAsync()
202
+ def get_geoposition_async(self) -> windows_foundation.IAsyncOperation[Geoposition]: ...
203
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.Geoposition> Windows.Devices.Geolocation.Geolocator::GetGeopositionAsync(Windows.Foundation.TimeSpan,Windows.Foundation.TimeSpan)
204
+ def get_geoposition_async_with_age_and_timeout(self, maximum_age: datetime.timedelta, timeout: datetime.timedelta, /) -> windows_foundation.IAsyncOperation[Geoposition]: ...
205
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Geolocation.Geolocator::add_PositionChanged(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Geolocation.Geolocator,Windows.Devices.Geolocation.PositionChangedEventArgs>)
206
+ def add_position_changed(self, handler: windows_foundation.TypedEventHandler[Geolocator, PositionChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
207
+ # System.Void Windows.Devices.Geolocation.Geolocator::remove_PositionChanged(Windows.Foundation.EventRegistrationToken)
208
+ def remove_position_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
209
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Geolocation.Geolocator::add_StatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Geolocation.Geolocator,Windows.Devices.Geolocation.StatusChangedEventArgs>)
210
+ def add_status_changed(self, handler: windows_foundation.TypedEventHandler[Geolocator, StatusChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
211
+ # System.Void Windows.Devices.Geolocation.Geolocator::remove_StatusChanged(Windows.Foundation.EventRegistrationToken)
212
+ def remove_status_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
213
+ # System.UInt32 Windows.Devices.Geolocation.Geolocator::get_ReportInterval()
214
+ @_property
215
+ def report_interval(self) -> winrt.system.UInt32: ...
216
+ # System.Void Windows.Devices.Geolocation.Geolocator::put_ReportInterval(System.UInt32)
217
+ @report_interval.setter
218
+ def report_interval(self, value: winrt.system.UInt32) -> None: ...
219
+ # System.Double Windows.Devices.Geolocation.Geolocator::get_MovementThreshold()
220
+ @_property
221
+ def movement_threshold(self) -> winrt.system.Double: ...
222
+ # System.Void Windows.Devices.Geolocation.Geolocator::put_MovementThreshold(System.Double)
223
+ @movement_threshold.setter
224
+ def movement_threshold(self, value: winrt.system.Double) -> None: ...
225
+ # Windows.Devices.Geolocation.PositionAccuracy Windows.Devices.Geolocation.Geolocator::get_DesiredAccuracy()
226
+ @_property
227
+ def desired_accuracy(self) -> PositionAccuracy: ...
228
+ # System.Void Windows.Devices.Geolocation.Geolocator::put_DesiredAccuracy(Windows.Devices.Geolocation.PositionAccuracy)
229
+ @desired_accuracy.setter
230
+ def desired_accuracy(self, value: PositionAccuracy) -> None: ...
231
+ # Windows.Devices.Geolocation.PositionStatus Windows.Devices.Geolocation.Geolocator::get_LocationStatus()
232
+ @_property
233
+ def location_status(self) -> PositionStatus: ...
234
+ # Windows.Foundation.IReference`1<System.UInt32> Windows.Devices.Geolocation.Geolocator::get_DesiredAccuracyInMeters()
235
+ @_property
236
+ def desired_accuracy_in_meters(self) -> typing.Optional[winrt.system.UInt32]: ...
237
+ # System.Void Windows.Devices.Geolocation.Geolocator::put_DesiredAccuracyInMeters(Windows.Foundation.IReference`1<System.UInt32>)
238
+ @desired_accuracy_in_meters.setter
239
+ def desired_accuracy_in_meters(self, value: typing.Optional[winrt.system.UInt32]) -> None: ...
240
+
241
+ @typing.final
242
+ class Geopath(winrt.system.Object, IGeoshape):
243
+ @typing.overload
244
+ def __new__(cls: typing.Type[Self], positions: typing.Iterable[BasicGeoposition]) -> Self: ...
245
+ @typing.overload
246
+ def __new__(cls: typing.Type[Self], positions: typing.Iterable[BasicGeoposition], altitude_reference_system: AltitudeReferenceSystem) -> Self: ...
247
+ @typing.overload
248
+ def __new__(cls: typing.Type[Self], positions: typing.Iterable[BasicGeoposition], altitude_reference_system: AltitudeReferenceSystem, spatial_reference_id: winrt.system.UInt32) -> Self: ...
249
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Geolocation.BasicGeoposition> Windows.Devices.Geolocation.Geopath::get_Positions()
250
+ @_property
251
+ def positions(self) -> typing.Sequence[BasicGeoposition]: ...
252
+ # Windows.Devices.Geolocation.AltitudeReferenceSystem Windows.Devices.Geolocation.Geopath::get_AltitudeReferenceSystem()
253
+ @_property
254
+ def altitude_reference_system(self) -> AltitudeReferenceSystem: ...
255
+ # Windows.Devices.Geolocation.GeoshapeType Windows.Devices.Geolocation.Geopath::get_GeoshapeType()
256
+ @_property
257
+ def geoshape_type(self) -> GeoshapeType: ...
258
+ # System.UInt32 Windows.Devices.Geolocation.Geopath::get_SpatialReferenceId()
259
+ @_property
260
+ def spatial_reference_id(self) -> winrt.system.UInt32: ...
261
+
262
+ @typing.final
263
+ class Geopoint(winrt.system.Object, IGeoshape):
264
+ @typing.overload
265
+ def __new__(cls: typing.Type[Self], position: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]]) -> Self: ...
266
+ @typing.overload
267
+ def __new__(cls: typing.Type[Self], position: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], altitude_reference_system: AltitudeReferenceSystem) -> Self: ...
268
+ @typing.overload
269
+ def __new__(cls: typing.Type[Self], position: typing.Union[BasicGeoposition, typing.Tuple[winrt.system.Double, winrt.system.Double, winrt.system.Double]], altitude_reference_system: AltitudeReferenceSystem, spatial_reference_id: winrt.system.UInt32) -> Self: ...
270
+ # Windows.Devices.Geolocation.BasicGeoposition Windows.Devices.Geolocation.Geopoint::get_Position()
271
+ @_property
272
+ def position(self) -> BasicGeoposition: ...
273
+ # Windows.Devices.Geolocation.AltitudeReferenceSystem Windows.Devices.Geolocation.Geopoint::get_AltitudeReferenceSystem()
274
+ @_property
275
+ def altitude_reference_system(self) -> AltitudeReferenceSystem: ...
276
+ # Windows.Devices.Geolocation.GeoshapeType Windows.Devices.Geolocation.Geopoint::get_GeoshapeType()
277
+ @_property
278
+ def geoshape_type(self) -> GeoshapeType: ...
279
+ # System.UInt32 Windows.Devices.Geolocation.Geopoint::get_SpatialReferenceId()
280
+ @_property
281
+ def spatial_reference_id(self) -> winrt.system.UInt32: ...
282
+
283
+ @typing.final
284
+ class Geoposition(winrt.system.Object):
285
+ # Windows.Devices.Geolocation.CivicAddress Windows.Devices.Geolocation.Geoposition::get_CivicAddress()
286
+ @_property
287
+ def civic_address(self) -> CivicAddress: ...
288
+ # Windows.Devices.Geolocation.Geocoordinate Windows.Devices.Geolocation.Geoposition::get_Coordinate()
289
+ @_property
290
+ def coordinate(self) -> Geocoordinate: ...
291
+ # Windows.Devices.Geolocation.VenueData Windows.Devices.Geolocation.Geoposition::get_VenueData()
292
+ @_property
293
+ def venue_data(self) -> VenueData: ...
294
+
295
+ @typing.final
296
+ class Geovisit(winrt.system.Object):
297
+ # Windows.Devices.Geolocation.Geoposition Windows.Devices.Geolocation.Geovisit::get_Position()
298
+ @_property
299
+ def position(self) -> Geoposition: ...
300
+ # Windows.Devices.Geolocation.VisitStateChange Windows.Devices.Geolocation.Geovisit::get_StateChange()
301
+ @_property
302
+ def state_change(self) -> VisitStateChange: ...
303
+ # Windows.Foundation.DateTime Windows.Devices.Geolocation.Geovisit::get_Timestamp()
304
+ @_property
305
+ def timestamp(self) -> datetime.datetime: ...
306
+
307
+ @typing.final
308
+ class GeovisitMonitor_Static(winrt._winrt.IInspectable_Static):
309
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Geolocation.Geovisit> Windows.Devices.Geolocation.GeovisitMonitor::GetLastReportAsync()
310
+ def get_last_report_async(cls) -> windows_foundation.IAsyncOperation[Geovisit]: ...
311
+
312
+ @typing.final
313
+ class GeovisitMonitor(winrt.system.Object, metaclass=GeovisitMonitor_Static):
314
+ def __new__(cls: typing.Type[Self]) -> Self: ...
315
+ # System.Void Windows.Devices.Geolocation.GeovisitMonitor::Start(Windows.Devices.Geolocation.VisitMonitoringScope)
316
+ def start(self, value: VisitMonitoringScope, /) -> None: ...
317
+ # System.Void Windows.Devices.Geolocation.GeovisitMonitor::Stop()
318
+ def stop(self) -> None: ...
319
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Geolocation.GeovisitMonitor::add_VisitStateChanged(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Geolocation.GeovisitMonitor,Windows.Devices.Geolocation.GeovisitStateChangedEventArgs>)
320
+ def add_visit_state_changed(self, handler: windows_foundation.TypedEventHandler[GeovisitMonitor, GeovisitStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
321
+ # System.Void Windows.Devices.Geolocation.GeovisitMonitor::remove_VisitStateChanged(Windows.Foundation.EventRegistrationToken)
322
+ def remove_visit_state_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
323
+ # Windows.Devices.Geolocation.VisitMonitoringScope Windows.Devices.Geolocation.GeovisitMonitor::get_MonitoringScope()
324
+ @_property
325
+ def monitoring_scope(self) -> VisitMonitoringScope: ...
326
+
327
+ @typing.final
328
+ class GeovisitStateChangedEventArgs(winrt.system.Object):
329
+ # Windows.Devices.Geolocation.Geovisit Windows.Devices.Geolocation.GeovisitStateChangedEventArgs::get_Visit()
330
+ @_property
331
+ def visit(self) -> Geovisit: ...
332
+
333
+ @typing.final
334
+ class GeovisitTriggerDetails(winrt.system.Object):
335
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Geolocation.Geovisit> Windows.Devices.Geolocation.GeovisitTriggerDetails::ReadReports()
336
+ def read_reports(self) -> typing.Sequence[Geovisit]: ...
337
+
338
+ @typing.final
339
+ class PositionChangedEventArgs(winrt.system.Object):
340
+ # Windows.Devices.Geolocation.Geoposition Windows.Devices.Geolocation.PositionChangedEventArgs::get_Position()
341
+ @_property
342
+ def position(self) -> Geoposition: ...
343
+
344
+ @typing.final
345
+ class StatusChangedEventArgs(winrt.system.Object):
346
+ # Windows.Devices.Geolocation.PositionStatus Windows.Devices.Geolocation.StatusChangedEventArgs::get_Status()
347
+ @_property
348
+ def status(self) -> PositionStatus: ...
349
+
350
+ @typing.final
351
+ class VenueData(winrt.system.Object):
352
+ # System.String Windows.Devices.Geolocation.VenueData::get_Id()
353
+ @_property
354
+ def id(self) -> str: ...
355
+ # System.String Windows.Devices.Geolocation.VenueData::get_Level()
356
+ @_property
357
+ def level(self) -> str: ...
358
+
359
+ @typing.final
360
+ class _IGeoshape: ...
361
+
362
+ class IGeoshape(winrt._winrt.IInspectable):
363
+ # Windows.Devices.Geolocation.AltitudeReferenceSystem Windows.Devices.Geolocation.IGeoshape::get_AltitudeReferenceSystem()
364
+ @_property
365
+ @abstractmethod
366
+ def altitude_reference_system(self) -> AltitudeReferenceSystem: ...
367
+ # Windows.Devices.Geolocation.GeoshapeType Windows.Devices.Geolocation.IGeoshape::get_GeoshapeType()
368
+ @_property
369
+ @abstractmethod
370
+ def geoshape_type(self) -> GeoshapeType: ...
371
+ # System.UInt32 Windows.Devices.Geolocation.IGeoshape::get_SpatialReferenceId()
372
+ @_property
373
+ @abstractmethod
374
+ def spatial_reference_id(self) -> winrt.system.UInt32: ...
375
+
@@ -0,0 +1,105 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_devices_geolocation import (
7
+ BasicGeoposition,
8
+ CivicAddress,
9
+ GeoboundingBox,
10
+ Geocircle,
11
+ Geocoordinate,
12
+ GeocoordinateSatelliteData,
13
+ Geolocator,
14
+ Geopath,
15
+ Geopoint,
16
+ Geoposition,
17
+ Geovisit,
18
+ GeovisitMonitor,
19
+ GeovisitStateChangedEventArgs,
20
+ GeovisitTriggerDetails,
21
+ PositionChangedEventArgs,
22
+ StatusChangedEventArgs,
23
+ VenueData,
24
+ _IGeoshape,
25
+ IGeoshape,
26
+ )
27
+
28
+ __all__ = [
29
+ "AltitudeReferenceSystem",
30
+ "GeolocationAccessStatus",
31
+ "GeoshapeType",
32
+ "PositionAccuracy",
33
+ "PositionSource",
34
+ "PositionStatus",
35
+ "VisitMonitoringScope",
36
+ "VisitStateChange",
37
+ "BasicGeoposition",
38
+ "CivicAddress",
39
+ "GeoboundingBox",
40
+ "Geocircle",
41
+ "Geocoordinate",
42
+ "GeocoordinateSatelliteData",
43
+ "Geolocator",
44
+ "Geopath",
45
+ "Geopoint",
46
+ "Geoposition",
47
+ "Geovisit",
48
+ "GeovisitMonitor",
49
+ "GeovisitStateChangedEventArgs",
50
+ "GeovisitTriggerDetails",
51
+ "PositionChangedEventArgs",
52
+ "StatusChangedEventArgs",
53
+ "VenueData",
54
+ "IGeoshape",
55
+ ]
56
+
57
+ class AltitudeReferenceSystem(enum.IntEnum):
58
+ UNSPECIFIED = 0
59
+ TERRAIN = 1
60
+ ELLIPSOID = 2
61
+ GEOID = 3
62
+ SURFACE = 4
63
+
64
+ class GeolocationAccessStatus(enum.IntEnum):
65
+ UNSPECIFIED = 0
66
+ ALLOWED = 1
67
+ DENIED = 2
68
+
69
+ class GeoshapeType(enum.IntEnum):
70
+ GEOPOINT = 0
71
+ GEOCIRCLE = 1
72
+ GEOPATH = 2
73
+ GEOBOUNDING_BOX = 3
74
+
75
+ class PositionAccuracy(enum.IntEnum):
76
+ DEFAULT = 0
77
+ HIGH = 1
78
+
79
+ class PositionSource(enum.IntEnum):
80
+ CELLULAR = 0
81
+ SATELLITE = 1
82
+ WI_FI = 2
83
+ IP_ADDRESS = 3
84
+ UNKNOWN = 4
85
+ DEFAULT = 5
86
+ OBFUSCATED = 6
87
+
88
+ class PositionStatus(enum.IntEnum):
89
+ READY = 0
90
+ INITIALIZING = 1
91
+ NO_DATA = 2
92
+ DISABLED = 3
93
+ NOT_INITIALIZED = 4
94
+ NOT_AVAILABLE = 5
95
+
96
+ class VisitMonitoringScope(enum.IntEnum):
97
+ VENUE = 0
98
+ CITY = 1
99
+
100
+ class VisitStateChange(enum.IntEnum):
101
+ TRACKING_LOST = 0
102
+ ARRIVED = 1
103
+ DEPARTED = 2
104
+ OTHER_MOVEMENT = 3
105
+
File without changes
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Devices.Geolocation
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+
20
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
21
+
22
+ # winrt-Windows.Devices.Geolocation
23
+
24
+ Windows Runtime (WinRT) APIs for for the `Windows.Devices.Geolocation` namespace.
25
+
26
+ This package provides the `winrt.windows.devices.geolocation` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_devices_geolocation.cp314-win32.pyd,sha256=fyxNPF1wV6Y_EoA_L23BNpjcI_9N9ItW1uClu5lKin4,305664
2
+ winrt/_winrt_windows_devices_geolocation.pyi,sha256=40JubuaFWYKFBxHr1VnwHbtWWNuuTjVmLyoOistgQC4,24963
3
+ winrt/windows/devices/geolocation/__init__.py,sha256=7b8V3-0LqMLyjsnyJPHVJyB2a6JjkxZ6NG4CGqEr-Wk,2084
4
+ winrt/windows/devices/geolocation/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_devices_geolocation-3.2.1.dist-info/METADATA,sha256=AeJi8CkegGIFFD5n2MDt8sH9OZC_SuXIc0EgycgXFAg,1148
6
+ winrt_windows_devices_geolocation-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_devices_geolocation-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_devices_geolocation-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win32
5
+