winrt-Windows.ApplicationModel.Calls.Background 2.3.0__tar.gz → 3.0.0__tar.gz
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.
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/PKG-INFO +4 -4
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/all-requirements.txt +2 -2
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/py.Windows.ApplicationModel.Calls.Background.cpp +127 -63
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/pyproject.toml +2 -2
- winrt_windows_applicationmodel_calls_background-3.0.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/setup.py +1 -1
- winrt_windows_applicationmodel_calls_background-3.0.0/winrt/_winrt_windows_applicationmodel_calls_background.pyi +91 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/winrt/windows/applicationmodel/calls/background/__init__.py +9 -8
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/PKG-INFO +4 -4
- winrt_windows_applicationmodel_calls_background-3.0.0/winrt_Windows.ApplicationModel.Calls.Background.egg-info/requires.txt +4 -0
- winrt_windows_applicationmodel_calls_background-2.3.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_calls_background-2.3.0/winrt/_winrt_windows_applicationmodel_calls_background.pyi +0 -84
- winrt_windows_applicationmodel_calls_background-2.3.0/winrt_Windows.ApplicationModel.Calls.Background.egg-info/requires.txt +0 -4
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/README.md +0 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/winrt/windows/applicationmodel/calls/background/py.typed +0 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_calls_background-2.3.0 → winrt_windows_applicationmodel_calls_background-3.0.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Calls.Background
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Foundation[all]==
|
|
3
|
+
winrt-Windows.Foundation[all]==3.0.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.Calls.Background.h"
|
|
4
4
|
|
|
@@ -38,7 +38,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
38
38
|
return nullptr;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
return py::convert(
|
|
41
|
+
return py::convert([&]()
|
|
42
|
+
{
|
|
43
|
+
auto _gil = release_gil();
|
|
44
|
+
return self->obj.CallBlockedReason();
|
|
45
|
+
}());
|
|
42
46
|
}
|
|
43
47
|
catch (...)
|
|
44
48
|
{
|
|
@@ -64,7 +68,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
64
68
|
return nullptr;
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
return py::convert(
|
|
71
|
+
return py::convert([&]()
|
|
72
|
+
{
|
|
73
|
+
auto _gil = release_gil();
|
|
74
|
+
return self->obj.LineId();
|
|
75
|
+
}());
|
|
68
76
|
}
|
|
69
77
|
catch (...)
|
|
70
78
|
{
|
|
@@ -90,7 +98,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
90
98
|
return nullptr;
|
|
91
99
|
}
|
|
92
100
|
|
|
93
|
-
return py::convert(
|
|
101
|
+
return py::convert([&]()
|
|
102
|
+
{
|
|
103
|
+
auto _gil = release_gil();
|
|
104
|
+
return self->obj.PhoneNumber();
|
|
105
|
+
}());
|
|
94
106
|
}
|
|
95
107
|
catch (...)
|
|
96
108
|
{
|
|
@@ -126,23 +138,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
126
138
|
static PyMethodDef _methods_PhoneCallBlockedTriggerDetails[] = {
|
|
127
139
|
{ "_assign_array_", _assign_array_PhoneCallBlockedTriggerDetails, METH_O | METH_STATIC, nullptr },
|
|
128
140
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PhoneCallBlockedTriggerDetails), METH_O | METH_STATIC, nullptr },
|
|
129
|
-
{ }
|
|
130
|
-
};
|
|
141
|
+
{ }};
|
|
131
142
|
|
|
132
143
|
static PyGetSetDef _getset_PhoneCallBlockedTriggerDetails[] = {
|
|
133
144
|
{ "call_blocked_reason", reinterpret_cast<getter>(PhoneCallBlockedTriggerDetails_get_CallBlockedReason), nullptr, nullptr, nullptr },
|
|
134
145
|
{ "line_id", reinterpret_cast<getter>(PhoneCallBlockedTriggerDetails_get_LineId), nullptr, nullptr, nullptr },
|
|
135
146
|
{ "phone_number", reinterpret_cast<getter>(PhoneCallBlockedTriggerDetails_get_PhoneNumber), nullptr, nullptr, nullptr },
|
|
136
|
-
{ }
|
|
137
|
-
};
|
|
147
|
+
{ }};
|
|
138
148
|
|
|
139
149
|
static PyType_Slot _type_slots_PhoneCallBlockedTriggerDetails[] = {
|
|
140
150
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneCallBlockedTriggerDetails) },
|
|
141
151
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneCallBlockedTriggerDetails) },
|
|
142
152
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneCallBlockedTriggerDetails) },
|
|
143
153
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneCallBlockedTriggerDetails) },
|
|
144
|
-
{ }
|
|
145
|
-
};
|
|
154
|
+
{ }};
|
|
146
155
|
|
|
147
156
|
static PyType_Spec type_spec_PhoneCallBlockedTriggerDetails = {
|
|
148
157
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneCallBlockedTriggerDetails",
|
|
@@ -185,7 +194,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
185
194
|
return nullptr;
|
|
186
195
|
}
|
|
187
196
|
|
|
188
|
-
return py::convert(
|
|
197
|
+
return py::convert([&]()
|
|
198
|
+
{
|
|
199
|
+
auto _gil = release_gil();
|
|
200
|
+
return self->obj.PhoneNumber();
|
|
201
|
+
}());
|
|
189
202
|
}
|
|
190
203
|
catch (...)
|
|
191
204
|
{
|
|
@@ -211,7 +224,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
211
224
|
return nullptr;
|
|
212
225
|
}
|
|
213
226
|
|
|
214
|
-
return py::convert(
|
|
227
|
+
return py::convert([&]()
|
|
228
|
+
{
|
|
229
|
+
auto _gil = release_gil();
|
|
230
|
+
return self->obj.RequestId();
|
|
231
|
+
}());
|
|
215
232
|
}
|
|
216
233
|
catch (...)
|
|
217
234
|
{
|
|
@@ -247,22 +264,19 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
247
264
|
static PyMethodDef _methods_PhoneCallOriginDataRequestTriggerDetails[] = {
|
|
248
265
|
{ "_assign_array_", _assign_array_PhoneCallOriginDataRequestTriggerDetails, METH_O | METH_STATIC, nullptr },
|
|
249
266
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PhoneCallOriginDataRequestTriggerDetails), METH_O | METH_STATIC, nullptr },
|
|
250
|
-
{ }
|
|
251
|
-
};
|
|
267
|
+
{ }};
|
|
252
268
|
|
|
253
269
|
static PyGetSetDef _getset_PhoneCallOriginDataRequestTriggerDetails[] = {
|
|
254
270
|
{ "phone_number", reinterpret_cast<getter>(PhoneCallOriginDataRequestTriggerDetails_get_PhoneNumber), nullptr, nullptr, nullptr },
|
|
255
271
|
{ "request_id", reinterpret_cast<getter>(PhoneCallOriginDataRequestTriggerDetails_get_RequestId), nullptr, nullptr, nullptr },
|
|
256
|
-
{ }
|
|
257
|
-
};
|
|
272
|
+
{ }};
|
|
258
273
|
|
|
259
274
|
static PyType_Slot _type_slots_PhoneCallOriginDataRequestTriggerDetails[] = {
|
|
260
275
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneCallOriginDataRequestTriggerDetails) },
|
|
261
276
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneCallOriginDataRequestTriggerDetails) },
|
|
262
277
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneCallOriginDataRequestTriggerDetails) },
|
|
263
278
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneCallOriginDataRequestTriggerDetails) },
|
|
264
|
-
{ }
|
|
265
|
-
};
|
|
279
|
+
{ }};
|
|
266
280
|
|
|
267
281
|
static PyType_Spec type_spec_PhoneCallOriginDataRequestTriggerDetails = {
|
|
268
282
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneCallOriginDataRequestTriggerDetails",
|
|
@@ -305,7 +319,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
305
319
|
return nullptr;
|
|
306
320
|
}
|
|
307
321
|
|
|
308
|
-
return py::convert(
|
|
322
|
+
return py::convert([&]()
|
|
323
|
+
{
|
|
324
|
+
auto _gil = release_gil();
|
|
325
|
+
return self->obj.DismissalTime();
|
|
326
|
+
}());
|
|
309
327
|
}
|
|
310
328
|
catch (...)
|
|
311
329
|
{
|
|
@@ -331,7 +349,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
331
349
|
return nullptr;
|
|
332
350
|
}
|
|
333
351
|
|
|
334
|
-
return py::convert(
|
|
352
|
+
return py::convert([&]()
|
|
353
|
+
{
|
|
354
|
+
auto _gil = release_gil();
|
|
355
|
+
return self->obj.DisplayName();
|
|
356
|
+
}());
|
|
335
357
|
}
|
|
336
358
|
catch (...)
|
|
337
359
|
{
|
|
@@ -357,7 +379,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
357
379
|
return nullptr;
|
|
358
380
|
}
|
|
359
381
|
|
|
360
|
-
return py::convert(
|
|
382
|
+
return py::convert([&]()
|
|
383
|
+
{
|
|
384
|
+
auto _gil = release_gil();
|
|
385
|
+
return self->obj.LineId();
|
|
386
|
+
}());
|
|
361
387
|
}
|
|
362
388
|
catch (...)
|
|
363
389
|
{
|
|
@@ -383,7 +409,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
383
409
|
return nullptr;
|
|
384
410
|
}
|
|
385
411
|
|
|
386
|
-
return py::convert(
|
|
412
|
+
return py::convert([&]()
|
|
413
|
+
{
|
|
414
|
+
auto _gil = release_gil();
|
|
415
|
+
return self->obj.PhoneNumber();
|
|
416
|
+
}());
|
|
387
417
|
}
|
|
388
418
|
catch (...)
|
|
389
419
|
{
|
|
@@ -409,7 +439,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
409
439
|
return nullptr;
|
|
410
440
|
}
|
|
411
441
|
|
|
412
|
-
return py::convert(
|
|
442
|
+
return py::convert([&]()
|
|
443
|
+
{
|
|
444
|
+
auto _gil = release_gil();
|
|
445
|
+
return self->obj.Reason();
|
|
446
|
+
}());
|
|
413
447
|
}
|
|
414
448
|
catch (...)
|
|
415
449
|
{
|
|
@@ -435,7 +469,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
435
469
|
return nullptr;
|
|
436
470
|
}
|
|
437
471
|
|
|
438
|
-
return py::convert(
|
|
472
|
+
return py::convert([&]()
|
|
473
|
+
{
|
|
474
|
+
auto _gil = release_gil();
|
|
475
|
+
return self->obj.TextReplyMessage();
|
|
476
|
+
}());
|
|
439
477
|
}
|
|
440
478
|
catch (...)
|
|
441
479
|
{
|
|
@@ -471,8 +509,7 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
471
509
|
static PyMethodDef _methods_PhoneIncomingCallDismissedTriggerDetails[] = {
|
|
472
510
|
{ "_assign_array_", _assign_array_PhoneIncomingCallDismissedTriggerDetails, METH_O | METH_STATIC, nullptr },
|
|
473
511
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PhoneIncomingCallDismissedTriggerDetails), METH_O | METH_STATIC, nullptr },
|
|
474
|
-
{ }
|
|
475
|
-
};
|
|
512
|
+
{ }};
|
|
476
513
|
|
|
477
514
|
static PyGetSetDef _getset_PhoneIncomingCallDismissedTriggerDetails[] = {
|
|
478
515
|
{ "dismissal_time", reinterpret_cast<getter>(PhoneIncomingCallDismissedTriggerDetails_get_DismissalTime), nullptr, nullptr, nullptr },
|
|
@@ -481,16 +518,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
481
518
|
{ "phone_number", reinterpret_cast<getter>(PhoneIncomingCallDismissedTriggerDetails_get_PhoneNumber), nullptr, nullptr, nullptr },
|
|
482
519
|
{ "reason", reinterpret_cast<getter>(PhoneIncomingCallDismissedTriggerDetails_get_Reason), nullptr, nullptr, nullptr },
|
|
483
520
|
{ "text_reply_message", reinterpret_cast<getter>(PhoneIncomingCallDismissedTriggerDetails_get_TextReplyMessage), nullptr, nullptr, nullptr },
|
|
484
|
-
{ }
|
|
485
|
-
};
|
|
521
|
+
{ }};
|
|
486
522
|
|
|
487
523
|
static PyType_Slot _type_slots_PhoneIncomingCallDismissedTriggerDetails[] = {
|
|
488
524
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneIncomingCallDismissedTriggerDetails) },
|
|
489
525
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneIncomingCallDismissedTriggerDetails) },
|
|
490
526
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneIncomingCallDismissedTriggerDetails) },
|
|
491
527
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneIncomingCallDismissedTriggerDetails) },
|
|
492
|
-
{ }
|
|
493
|
-
};
|
|
528
|
+
{ }};
|
|
494
529
|
|
|
495
530
|
static PyType_Spec type_spec_PhoneIncomingCallDismissedTriggerDetails = {
|
|
496
531
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneIncomingCallDismissedTriggerDetails",
|
|
@@ -533,7 +568,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
533
568
|
return nullptr;
|
|
534
569
|
}
|
|
535
570
|
|
|
536
|
-
return py::convert(
|
|
571
|
+
return py::convert([&]()
|
|
572
|
+
{
|
|
573
|
+
auto _gil = release_gil();
|
|
574
|
+
return self->obj.CallId();
|
|
575
|
+
}());
|
|
537
576
|
}
|
|
538
577
|
catch (...)
|
|
539
578
|
{
|
|
@@ -559,7 +598,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
559
598
|
return nullptr;
|
|
560
599
|
}
|
|
561
600
|
|
|
562
|
-
return py::convert(
|
|
601
|
+
return py::convert([&]()
|
|
602
|
+
{
|
|
603
|
+
auto _gil = release_gil();
|
|
604
|
+
return self->obj.LineId();
|
|
605
|
+
}());
|
|
563
606
|
}
|
|
564
607
|
catch (...)
|
|
565
608
|
{
|
|
@@ -595,22 +638,19 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
595
638
|
static PyMethodDef _methods_PhoneIncomingCallNotificationTriggerDetails[] = {
|
|
596
639
|
{ "_assign_array_", _assign_array_PhoneIncomingCallNotificationTriggerDetails, METH_O | METH_STATIC, nullptr },
|
|
597
640
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PhoneIncomingCallNotificationTriggerDetails), METH_O | METH_STATIC, nullptr },
|
|
598
|
-
{ }
|
|
599
|
-
};
|
|
641
|
+
{ }};
|
|
600
642
|
|
|
601
643
|
static PyGetSetDef _getset_PhoneIncomingCallNotificationTriggerDetails[] = {
|
|
602
644
|
{ "call_id", reinterpret_cast<getter>(PhoneIncomingCallNotificationTriggerDetails_get_CallId), nullptr, nullptr, nullptr },
|
|
603
645
|
{ "line_id", reinterpret_cast<getter>(PhoneIncomingCallNotificationTriggerDetails_get_LineId), nullptr, nullptr, nullptr },
|
|
604
|
-
{ }
|
|
605
|
-
};
|
|
646
|
+
{ }};
|
|
606
647
|
|
|
607
648
|
static PyType_Slot _type_slots_PhoneIncomingCallNotificationTriggerDetails[] = {
|
|
608
649
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneIncomingCallNotificationTriggerDetails) },
|
|
609
650
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneIncomingCallNotificationTriggerDetails) },
|
|
610
651
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneIncomingCallNotificationTriggerDetails) },
|
|
611
652
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneIncomingCallNotificationTriggerDetails) },
|
|
612
|
-
{ }
|
|
613
|
-
};
|
|
653
|
+
{ }};
|
|
614
654
|
|
|
615
655
|
static PyType_Spec type_spec_PhoneIncomingCallNotificationTriggerDetails = {
|
|
616
656
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneIncomingCallNotificationTriggerDetails",
|
|
@@ -638,7 +678,7 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
638
678
|
|
|
639
679
|
static PyObject* PhoneLineChangedTriggerDetails_HasLinePropertyChanged(py::wrapper::Windows::ApplicationModel::Calls::Background::PhoneLineChangedTriggerDetails* self, PyObject* args) noexcept
|
|
640
680
|
{
|
|
641
|
-
auto arg_count =
|
|
681
|
+
auto arg_count = PyTuple_GET_SIZE(args);
|
|
642
682
|
|
|
643
683
|
if (arg_count == 1)
|
|
644
684
|
{
|
|
@@ -659,7 +699,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
659
699
|
|
|
660
700
|
auto param0 = py::convert_to<winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties>(args, 0);
|
|
661
701
|
|
|
662
|
-
return py::convert(
|
|
702
|
+
return py::convert([&]()
|
|
703
|
+
{
|
|
704
|
+
auto _gil = release_gil();
|
|
705
|
+
return self->obj.HasLinePropertyChanged(param0);
|
|
706
|
+
}());
|
|
663
707
|
}
|
|
664
708
|
catch (...)
|
|
665
709
|
{
|
|
@@ -691,7 +735,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
691
735
|
return nullptr;
|
|
692
736
|
}
|
|
693
737
|
|
|
694
|
-
return py::convert(
|
|
738
|
+
return py::convert([&]()
|
|
739
|
+
{
|
|
740
|
+
auto _gil = release_gil();
|
|
741
|
+
return self->obj.ChangeType();
|
|
742
|
+
}());
|
|
695
743
|
}
|
|
696
744
|
catch (...)
|
|
697
745
|
{
|
|
@@ -717,7 +765,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
717
765
|
return nullptr;
|
|
718
766
|
}
|
|
719
767
|
|
|
720
|
-
return py::convert(
|
|
768
|
+
return py::convert([&]()
|
|
769
|
+
{
|
|
770
|
+
auto _gil = release_gil();
|
|
771
|
+
return self->obj.LineId();
|
|
772
|
+
}());
|
|
721
773
|
}
|
|
722
774
|
catch (...)
|
|
723
775
|
{
|
|
@@ -754,22 +806,19 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
754
806
|
{ "has_line_property_changed", reinterpret_cast<PyCFunction>(PhoneLineChangedTriggerDetails_HasLinePropertyChanged), METH_VARARGS, nullptr },
|
|
755
807
|
{ "_assign_array_", _assign_array_PhoneLineChangedTriggerDetails, METH_O | METH_STATIC, nullptr },
|
|
756
808
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PhoneLineChangedTriggerDetails), METH_O | METH_STATIC, nullptr },
|
|
757
|
-
{ }
|
|
758
|
-
};
|
|
809
|
+
{ }};
|
|
759
810
|
|
|
760
811
|
static PyGetSetDef _getset_PhoneLineChangedTriggerDetails[] = {
|
|
761
812
|
{ "change_type", reinterpret_cast<getter>(PhoneLineChangedTriggerDetails_get_ChangeType), nullptr, nullptr, nullptr },
|
|
762
813
|
{ "line_id", reinterpret_cast<getter>(PhoneLineChangedTriggerDetails_get_LineId), nullptr, nullptr, nullptr },
|
|
763
|
-
{ }
|
|
764
|
-
};
|
|
814
|
+
{ }};
|
|
765
815
|
|
|
766
816
|
static PyType_Slot _type_slots_PhoneLineChangedTriggerDetails[] = {
|
|
767
817
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneLineChangedTriggerDetails) },
|
|
768
818
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneLineChangedTriggerDetails) },
|
|
769
819
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneLineChangedTriggerDetails) },
|
|
770
820
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneLineChangedTriggerDetails) },
|
|
771
|
-
{ }
|
|
772
|
-
};
|
|
821
|
+
{ }};
|
|
773
822
|
|
|
774
823
|
static PyType_Spec type_spec_PhoneLineChangedTriggerDetails = {
|
|
775
824
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneLineChangedTriggerDetails",
|
|
@@ -812,7 +861,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
812
861
|
return nullptr;
|
|
813
862
|
}
|
|
814
863
|
|
|
815
|
-
return py::convert(
|
|
864
|
+
return py::convert([&]()
|
|
865
|
+
{
|
|
866
|
+
auto _gil = release_gil();
|
|
867
|
+
return self->obj.LineId();
|
|
868
|
+
}());
|
|
816
869
|
}
|
|
817
870
|
catch (...)
|
|
818
871
|
{
|
|
@@ -838,7 +891,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
838
891
|
return nullptr;
|
|
839
892
|
}
|
|
840
893
|
|
|
841
|
-
return py::convert(
|
|
894
|
+
return py::convert([&]()
|
|
895
|
+
{
|
|
896
|
+
auto _gil = release_gil();
|
|
897
|
+
return self->obj.OperatorMessage();
|
|
898
|
+
}());
|
|
842
899
|
}
|
|
843
900
|
catch (...)
|
|
844
901
|
{
|
|
@@ -864,7 +921,11 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
864
921
|
return nullptr;
|
|
865
922
|
}
|
|
866
923
|
|
|
867
|
-
return py::convert(
|
|
924
|
+
return py::convert([&]()
|
|
925
|
+
{
|
|
926
|
+
auto _gil = release_gil();
|
|
927
|
+
return self->obj.VoicemailCount();
|
|
928
|
+
}());
|
|
868
929
|
}
|
|
869
930
|
catch (...)
|
|
870
931
|
{
|
|
@@ -900,23 +961,20 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
|
|
|
900
961
|
static PyMethodDef _methods_PhoneNewVoicemailMessageTriggerDetails[] = {
|
|
901
962
|
{ "_assign_array_", _assign_array_PhoneNewVoicemailMessageTriggerDetails, METH_O | METH_STATIC, nullptr },
|
|
902
963
|
{ "_from", reinterpret_cast<PyCFunction>(_from_PhoneNewVoicemailMessageTriggerDetails), METH_O | METH_STATIC, nullptr },
|
|
903
|
-
{ }
|
|
904
|
-
};
|
|
964
|
+
{ }};
|
|
905
965
|
|
|
906
966
|
static PyGetSetDef _getset_PhoneNewVoicemailMessageTriggerDetails[] = {
|
|
907
967
|
{ "line_id", reinterpret_cast<getter>(PhoneNewVoicemailMessageTriggerDetails_get_LineId), nullptr, nullptr, nullptr },
|
|
908
968
|
{ "operator_message", reinterpret_cast<getter>(PhoneNewVoicemailMessageTriggerDetails_get_OperatorMessage), nullptr, nullptr, nullptr },
|
|
909
969
|
{ "voicemail_count", reinterpret_cast<getter>(PhoneNewVoicemailMessageTriggerDetails_get_VoicemailCount), nullptr, nullptr, nullptr },
|
|
910
|
-
{ }
|
|
911
|
-
};
|
|
970
|
+
{ }};
|
|
912
971
|
|
|
913
972
|
static PyType_Slot _type_slots_PhoneNewVoicemailMessageTriggerDetails[] = {
|
|
914
973
|
{ Py_tp_new, reinterpret_cast<void*>(_new_PhoneNewVoicemailMessageTriggerDetails) },
|
|
915
974
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_PhoneNewVoicemailMessageTriggerDetails) },
|
|
916
975
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_PhoneNewVoicemailMessageTriggerDetails) },
|
|
917
976
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_PhoneNewVoicemailMessageTriggerDetails) },
|
|
918
|
-
{ }
|
|
919
|
-
};
|
|
977
|
+
{ }};
|
|
920
978
|
|
|
921
979
|
static PyType_Spec type_spec_PhoneNewVoicemailMessageTriggerDetails = {
|
|
922
980
|
"winrt._winrt_windows_applicationmodel_calls_background.PhoneNewVoicemailMessageTriggerDetails",
|
|
@@ -957,6 +1015,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_calls_background(void) noe
|
|
|
957
1015
|
return nullptr;
|
|
958
1016
|
}
|
|
959
1017
|
|
|
1018
|
+
auto inspectable_meta_type = py::get_inspectable_meta_type();
|
|
1019
|
+
if (!inspectable_meta_type)
|
|
1020
|
+
{
|
|
1021
|
+
return nullptr;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
960
1024
|
auto object_type = py::get_object_type();
|
|
961
1025
|
if (!object_type)
|
|
962
1026
|
{
|
|
@@ -970,37 +1034,37 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_calls_background(void) noe
|
|
|
970
1034
|
return nullptr;
|
|
971
1035
|
}
|
|
972
1036
|
|
|
973
|
-
py::pytype_handle PhoneCallBlockedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneCallBlockedTriggerDetails, object_bases.get(),
|
|
1037
|
+
py::pytype_handle PhoneCallBlockedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneCallBlockedTriggerDetails, object_bases.get(), inspectable_meta_type)};
|
|
974
1038
|
if (!PhoneCallBlockedTriggerDetails_type)
|
|
975
1039
|
{
|
|
976
1040
|
return nullptr;
|
|
977
1041
|
}
|
|
978
1042
|
|
|
979
|
-
py::pytype_handle PhoneCallOriginDataRequestTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneCallOriginDataRequestTriggerDetails, object_bases.get(),
|
|
1043
|
+
py::pytype_handle PhoneCallOriginDataRequestTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneCallOriginDataRequestTriggerDetails, object_bases.get(), inspectable_meta_type)};
|
|
980
1044
|
if (!PhoneCallOriginDataRequestTriggerDetails_type)
|
|
981
1045
|
{
|
|
982
1046
|
return nullptr;
|
|
983
1047
|
}
|
|
984
1048
|
|
|
985
|
-
py::pytype_handle PhoneIncomingCallDismissedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneIncomingCallDismissedTriggerDetails, object_bases.get(),
|
|
1049
|
+
py::pytype_handle PhoneIncomingCallDismissedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneIncomingCallDismissedTriggerDetails, object_bases.get(), inspectable_meta_type)};
|
|
986
1050
|
if (!PhoneIncomingCallDismissedTriggerDetails_type)
|
|
987
1051
|
{
|
|
988
1052
|
return nullptr;
|
|
989
1053
|
}
|
|
990
1054
|
|
|
991
|
-
py::pytype_handle PhoneIncomingCallNotificationTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneIncomingCallNotificationTriggerDetails, object_bases.get(),
|
|
1055
|
+
py::pytype_handle PhoneIncomingCallNotificationTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneIncomingCallNotificationTriggerDetails, object_bases.get(), inspectable_meta_type)};
|
|
992
1056
|
if (!PhoneIncomingCallNotificationTriggerDetails_type)
|
|
993
1057
|
{
|
|
994
1058
|
return nullptr;
|
|
995
1059
|
}
|
|
996
1060
|
|
|
997
|
-
py::pytype_handle PhoneLineChangedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneLineChangedTriggerDetails, object_bases.get(),
|
|
1061
|
+
py::pytype_handle PhoneLineChangedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneLineChangedTriggerDetails, object_bases.get(), inspectable_meta_type)};
|
|
998
1062
|
if (!PhoneLineChangedTriggerDetails_type)
|
|
999
1063
|
{
|
|
1000
1064
|
return nullptr;
|
|
1001
1065
|
}
|
|
1002
1066
|
|
|
1003
|
-
py::pytype_handle PhoneNewVoicemailMessageTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneNewVoicemailMessageTriggerDetails, object_bases.get(),
|
|
1067
|
+
py::pytype_handle PhoneNewVoicemailMessageTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneNewVoicemailMessageTriggerDetails, object_bases.get(), inspectable_meta_type)};
|
|
1004
1068
|
if (!PhoneNewVoicemailMessageTriggerDetails_type)
|
|
1005
1069
|
{
|
|
1006
1070
|
return nullptr;
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -34,7 +34,7 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel]
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
|
-
environment = { PYTHONPATH="
|
|
37
|
+
environment = { PYTHONPATH="../../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
39
|
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
40
|
before-build = "uv pip install setuptools"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==
|
|
3
|
+
winrt-runtime==3.0.0
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
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
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
|
|
14
|
+
from winrt.windows.applicationmodel.calls.background import PhoneCallBlockedReason, PhoneIncomingCallDismissedReason, PhoneLineChangeKind, PhoneLineProperties, PhoneTriggerType
|
|
15
|
+
|
|
16
|
+
Self = typing.TypeVar('Self')
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class PhoneCallBlockedTriggerDetails(winrt.system.Object):
|
|
20
|
+
# Windows.ApplicationModel.Calls.Background.PhoneCallBlockedReason Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails::get_CallBlockedReason()
|
|
21
|
+
@_property
|
|
22
|
+
def call_blocked_reason(self) -> PhoneCallBlockedReason: ...
|
|
23
|
+
# System.Guid Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails::get_LineId()
|
|
24
|
+
@_property
|
|
25
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
26
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails::get_PhoneNumber()
|
|
27
|
+
@_property
|
|
28
|
+
def phone_number(self) -> str: ...
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class PhoneCallOriginDataRequestTriggerDetails(winrt.system.Object):
|
|
32
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails::get_PhoneNumber()
|
|
33
|
+
@_property
|
|
34
|
+
def phone_number(self) -> str: ...
|
|
35
|
+
# System.Guid Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails::get_RequestId()
|
|
36
|
+
@_property
|
|
37
|
+
def request_id(self) -> _uuid.UUID: ...
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class PhoneIncomingCallDismissedTriggerDetails(winrt.system.Object):
|
|
41
|
+
# Windows.Foundation.DateTime Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails::get_DismissalTime()
|
|
42
|
+
@_property
|
|
43
|
+
def dismissal_time(self) -> datetime.datetime: ...
|
|
44
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails::get_DisplayName()
|
|
45
|
+
@_property
|
|
46
|
+
def display_name(self) -> str: ...
|
|
47
|
+
# System.Guid Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails::get_LineId()
|
|
48
|
+
@_property
|
|
49
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
50
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails::get_PhoneNumber()
|
|
51
|
+
@_property
|
|
52
|
+
def phone_number(self) -> str: ...
|
|
53
|
+
# Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedReason Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails::get_Reason()
|
|
54
|
+
@_property
|
|
55
|
+
def reason(self) -> PhoneIncomingCallDismissedReason: ...
|
|
56
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails::get_TextReplyMessage()
|
|
57
|
+
@_property
|
|
58
|
+
def text_reply_message(self) -> str: ...
|
|
59
|
+
|
|
60
|
+
@typing.final
|
|
61
|
+
class PhoneIncomingCallNotificationTriggerDetails(winrt.system.Object):
|
|
62
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails::get_CallId()
|
|
63
|
+
@_property
|
|
64
|
+
def call_id(self) -> str: ...
|
|
65
|
+
# System.Guid Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails::get_LineId()
|
|
66
|
+
@_property
|
|
67
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class PhoneLineChangedTriggerDetails(winrt.system.Object):
|
|
71
|
+
# System.Boolean Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails::HasLinePropertyChanged(Windows.ApplicationModel.Calls.Background.PhoneLineProperties)
|
|
72
|
+
def has_line_property_changed(self, line_property: PhoneLineProperties, /) -> bool: ...
|
|
73
|
+
# Windows.ApplicationModel.Calls.Background.PhoneLineChangeKind Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails::get_ChangeType()
|
|
74
|
+
@_property
|
|
75
|
+
def change_type(self) -> PhoneLineChangeKind: ...
|
|
76
|
+
# System.Guid Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails::get_LineId()
|
|
77
|
+
@_property
|
|
78
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
79
|
+
|
|
80
|
+
@typing.final
|
|
81
|
+
class PhoneNewVoicemailMessageTriggerDetails(winrt.system.Object):
|
|
82
|
+
# System.Guid Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails::get_LineId()
|
|
83
|
+
@_property
|
|
84
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
85
|
+
# System.String Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails::get_OperatorMessage()
|
|
86
|
+
@_property
|
|
87
|
+
def operator_message(self) -> str: ...
|
|
88
|
+
# System.Int32 Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails::get_VoicemailCount()
|
|
89
|
+
@_property
|
|
90
|
+
def voicemail_count(self) -> winrt.system.Int32: ...
|
|
91
|
+
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.0.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
5
5
|
import winrt.system
|
|
6
|
-
from winrt import
|
|
6
|
+
from winrt._winrt_windows_applicationmodel_calls_background import (
|
|
7
|
+
PhoneCallBlockedTriggerDetails,
|
|
8
|
+
PhoneCallOriginDataRequestTriggerDetails,
|
|
9
|
+
PhoneIncomingCallDismissedTriggerDetails,
|
|
10
|
+
PhoneIncomingCallNotificationTriggerDetails,
|
|
11
|
+
PhoneLineChangedTriggerDetails,
|
|
12
|
+
PhoneNewVoicemailMessageTriggerDetails,
|
|
13
|
+
)
|
|
7
14
|
|
|
8
15
|
__all__ = [
|
|
9
16
|
"PhoneCallBlockedReason",
|
|
@@ -57,9 +64,3 @@ class PhoneTriggerType(enum.IntEnum):
|
|
|
57
64
|
INCOMING_CALL_DISMISSED = 6
|
|
58
65
|
INCOMING_CALL_NOTIFICATION = 7
|
|
59
66
|
|
|
60
|
-
PhoneCallBlockedTriggerDetails = _winrt_windows_applicationmodel_calls_background.PhoneCallBlockedTriggerDetails
|
|
61
|
-
PhoneCallOriginDataRequestTriggerDetails = _winrt_windows_applicationmodel_calls_background.PhoneCallOriginDataRequestTriggerDetails
|
|
62
|
-
PhoneIncomingCallDismissedTriggerDetails = _winrt_windows_applicationmodel_calls_background.PhoneIncomingCallDismissedTriggerDetails
|
|
63
|
-
PhoneIncomingCallNotificationTriggerDetails = _winrt_windows_applicationmodel_calls_background.PhoneIncomingCallNotificationTriggerDetails
|
|
64
|
-
PhoneLineChangedTriggerDetails = _winrt_windows_applicationmodel_calls_background.PhoneLineChangedTriggerDetails
|
|
65
|
-
PhoneNewVoicemailMessageTriggerDetails = _winrt_windows_applicationmodel_calls_background.PhoneNewVoicemailMessageTriggerDetails
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Calls.Background
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,11 +10,11 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python:
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==
|
|
15
|
+
Requires-Dist: winrt-runtime==3.0.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==3.0.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.0
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
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
|
-
|
|
10
|
-
import winrt._winrt
|
|
11
|
-
import winrt.system
|
|
12
|
-
import winrt.windows.foundation as windows_foundation
|
|
13
|
-
|
|
14
|
-
from winrt.windows.applicationmodel.calls.background import PhoneCallBlockedReason, PhoneIncomingCallDismissedReason, PhoneLineChangeKind, PhoneLineProperties, PhoneTriggerType
|
|
15
|
-
|
|
16
|
-
Self = typing.TypeVar('Self')
|
|
17
|
-
|
|
18
|
-
@typing.final
|
|
19
|
-
class PhoneCallBlockedTriggerDetails(winrt.system.Object):
|
|
20
|
-
@staticmethod
|
|
21
|
-
def _from(obj: winrt.system.Object, /) -> PhoneCallBlockedTriggerDetails: ...
|
|
22
|
-
@_property
|
|
23
|
-
def call_blocked_reason(self) -> PhoneCallBlockedReason: ...
|
|
24
|
-
@_property
|
|
25
|
-
def line_id(self) -> _uuid.UUID: ...
|
|
26
|
-
@_property
|
|
27
|
-
def phone_number(self) -> str: ...
|
|
28
|
-
|
|
29
|
-
@typing.final
|
|
30
|
-
class PhoneCallOriginDataRequestTriggerDetails(winrt.system.Object):
|
|
31
|
-
@staticmethod
|
|
32
|
-
def _from(obj: winrt.system.Object, /) -> PhoneCallOriginDataRequestTriggerDetails: ...
|
|
33
|
-
@_property
|
|
34
|
-
def phone_number(self) -> str: ...
|
|
35
|
-
@_property
|
|
36
|
-
def request_id(self) -> _uuid.UUID: ...
|
|
37
|
-
|
|
38
|
-
@typing.final
|
|
39
|
-
class PhoneIncomingCallDismissedTriggerDetails(winrt.system.Object):
|
|
40
|
-
@staticmethod
|
|
41
|
-
def _from(obj: winrt.system.Object, /) -> PhoneIncomingCallDismissedTriggerDetails: ...
|
|
42
|
-
@_property
|
|
43
|
-
def dismissal_time(self) -> datetime.datetime: ...
|
|
44
|
-
@_property
|
|
45
|
-
def display_name(self) -> str: ...
|
|
46
|
-
@_property
|
|
47
|
-
def line_id(self) -> _uuid.UUID: ...
|
|
48
|
-
@_property
|
|
49
|
-
def phone_number(self) -> str: ...
|
|
50
|
-
@_property
|
|
51
|
-
def reason(self) -> PhoneIncomingCallDismissedReason: ...
|
|
52
|
-
@_property
|
|
53
|
-
def text_reply_message(self) -> str: ...
|
|
54
|
-
|
|
55
|
-
@typing.final
|
|
56
|
-
class PhoneIncomingCallNotificationTriggerDetails(winrt.system.Object):
|
|
57
|
-
@staticmethod
|
|
58
|
-
def _from(obj: winrt.system.Object, /) -> PhoneIncomingCallNotificationTriggerDetails: ...
|
|
59
|
-
@_property
|
|
60
|
-
def call_id(self) -> str: ...
|
|
61
|
-
@_property
|
|
62
|
-
def line_id(self) -> _uuid.UUID: ...
|
|
63
|
-
|
|
64
|
-
@typing.final
|
|
65
|
-
class PhoneLineChangedTriggerDetails(winrt.system.Object):
|
|
66
|
-
@staticmethod
|
|
67
|
-
def _from(obj: winrt.system.Object, /) -> PhoneLineChangedTriggerDetails: ...
|
|
68
|
-
def has_line_property_changed(self, line_property: PhoneLineProperties, /) -> bool: ...
|
|
69
|
-
@_property
|
|
70
|
-
def change_type(self) -> PhoneLineChangeKind: ...
|
|
71
|
-
@_property
|
|
72
|
-
def line_id(self) -> _uuid.UUID: ...
|
|
73
|
-
|
|
74
|
-
@typing.final
|
|
75
|
-
class PhoneNewVoicemailMessageTriggerDetails(winrt.system.Object):
|
|
76
|
-
@staticmethod
|
|
77
|
-
def _from(obj: winrt.system.Object, /) -> PhoneNewVoicemailMessageTriggerDetails: ...
|
|
78
|
-
@_property
|
|
79
|
-
def line_id(self) -> _uuid.UUID: ...
|
|
80
|
-
@_property
|
|
81
|
-
def operator_message(self) -> str: ...
|
|
82
|
-
@_property
|
|
83
|
-
def voicemail_count(self) -> winrt.system.Int32: ...
|
|
84
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|