winrt-Windows.ApplicationModel.Calls 2.2.0__cp313-cp313-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.
- winrt/_winrt_windows_applicationmodel_calls.cp313-win32.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_calls.pyi +594 -0
- winrt/windows/applicationmodel/calls/__init__.py +264 -0
- winrt/windows/applicationmodel/calls/py.typed +0 -0
- winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/METADATA +30 -0
- winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,594 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.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.applicationmodel.contacts as windows_applicationmodel_contacts
|
|
13
|
+
import winrt.windows.devices.enumeration as windows_devices_enumeration
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.system as windows_system
|
|
17
|
+
import winrt.windows.ui as windows_ui
|
|
18
|
+
|
|
19
|
+
from winrt.windows.applicationmodel.calls import CellularDtmfMode, DtmfKey, DtmfToneAudioPlayback, PhoneAudioRoutingEndpoint, PhoneCallAudioDevice, PhoneCallDirection, PhoneCallHistoryEntryMedia, PhoneCallHistoryEntryOtherAppReadAccess, PhoneCallHistoryEntryQueryDesiredMedia, PhoneCallHistoryEntryRawAddressKind, PhoneCallHistorySourceIdKind, PhoneCallHistoryStoreAccessType, PhoneCallMedia, PhoneCallOperationStatus, PhoneCallStatus, PhoneLineNetworkOperatorDisplayTextLocation, PhoneLineOperationStatus, PhoneLineTransport, PhoneLineWatcherStatus, PhoneNetworkState, PhoneSimState, PhoneVoicemailType, TransportDeviceAudioRoutingStatus, VoipPhoneCallMedia, VoipPhoneCallRejectReason, VoipPhoneCallResourceReservationStatus, VoipPhoneCallState
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class CallAnswerEventArgs(winrt.system.Object):
|
|
25
|
+
@staticmethod
|
|
26
|
+
def _from(obj: winrt.system.Object, /) -> CallAnswerEventArgs: ...
|
|
27
|
+
@_property
|
|
28
|
+
def accepted_media(self) -> VoipPhoneCallMedia: ...
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class CallRejectEventArgs(winrt.system.Object):
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _from(obj: winrt.system.Object, /) -> CallRejectEventArgs: ...
|
|
34
|
+
@_property
|
|
35
|
+
def reject_reason(self) -> VoipPhoneCallRejectReason: ...
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class CallStateChangeEventArgs(winrt.system.Object):
|
|
39
|
+
@staticmethod
|
|
40
|
+
def _from(obj: winrt.system.Object, /) -> CallStateChangeEventArgs: ...
|
|
41
|
+
@_property
|
|
42
|
+
def state(self) -> VoipPhoneCallState: ...
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class LockScreenCallEndCallDeferral(winrt.system.Object):
|
|
46
|
+
@staticmethod
|
|
47
|
+
def _from(obj: winrt.system.Object, /) -> LockScreenCallEndCallDeferral: ...
|
|
48
|
+
def complete(self) -> None: ...
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class LockScreenCallEndRequestedEventArgs(winrt.system.Object):
|
|
52
|
+
@staticmethod
|
|
53
|
+
def _from(obj: winrt.system.Object, /) -> LockScreenCallEndRequestedEventArgs: ...
|
|
54
|
+
def get_deferral(self) -> typing.Optional[LockScreenCallEndCallDeferral]: ...
|
|
55
|
+
@_property
|
|
56
|
+
def deadline(self) -> datetime.datetime: ...
|
|
57
|
+
|
|
58
|
+
@typing.final
|
|
59
|
+
class LockScreenCallUI(winrt.system.Object):
|
|
60
|
+
@staticmethod
|
|
61
|
+
def _from(obj: winrt.system.Object, /) -> LockScreenCallUI: ...
|
|
62
|
+
def dismiss(self) -> None: ...
|
|
63
|
+
def add_closed(self, handler: windows_foundation.TypedEventHandler[LockScreenCallUI, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
64
|
+
def remove_closed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
65
|
+
def add_end_requested(self, handler: windows_foundation.TypedEventHandler[LockScreenCallUI, LockScreenCallEndRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
66
|
+
def remove_end_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
67
|
+
@_property
|
|
68
|
+
def call_title(self) -> str: ...
|
|
69
|
+
@call_title.setter
|
|
70
|
+
def call_title(self, value: str) -> None: ...
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class MuteChangeEventArgs(winrt.system.Object):
|
|
74
|
+
@staticmethod
|
|
75
|
+
def _from(obj: winrt.system.Object, /) -> MuteChangeEventArgs: ...
|
|
76
|
+
@_property
|
|
77
|
+
def muted(self) -> bool: ...
|
|
78
|
+
|
|
79
|
+
@typing.final
|
|
80
|
+
class PhoneCall_Static(type):
|
|
81
|
+
def get_from_id(cls, call_id: str, /) -> typing.Optional[PhoneCall]: ...
|
|
82
|
+
|
|
83
|
+
@typing.final
|
|
84
|
+
class PhoneCall(winrt.system.Object, metaclass=PhoneCall_Static):
|
|
85
|
+
@staticmethod
|
|
86
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCall: ...
|
|
87
|
+
def accept_incoming(self) -> PhoneCallOperationStatus: ...
|
|
88
|
+
def accept_incoming_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
89
|
+
def change_audio_device(self, endpoint: PhoneCallAudioDevice, /) -> PhoneCallOperationStatus: ...
|
|
90
|
+
def change_audio_device_async(self, endpoint: PhoneCallAudioDevice, /) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
91
|
+
def end(self) -> PhoneCallOperationStatus: ...
|
|
92
|
+
def end_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
93
|
+
def get_phone_call_info(self) -> typing.Optional[PhoneCallInfo]: ...
|
|
94
|
+
def get_phone_call_info_async(self) -> windows_foundation.IAsyncOperation[PhoneCallInfo]: ...
|
|
95
|
+
def hold(self) -> PhoneCallOperationStatus: ...
|
|
96
|
+
def hold_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
97
|
+
def mute(self) -> PhoneCallOperationStatus: ...
|
|
98
|
+
def mute_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
99
|
+
def reject_incoming(self) -> PhoneCallOperationStatus: ...
|
|
100
|
+
def reject_incoming_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
101
|
+
def resume_from_hold(self) -> PhoneCallOperationStatus: ...
|
|
102
|
+
def resume_from_hold_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
103
|
+
def send_dtmf_key(self, key: DtmfKey, dtmf_tone_audio_playback: DtmfToneAudioPlayback, /) -> PhoneCallOperationStatus: ...
|
|
104
|
+
def send_dtmf_key_async(self, key: DtmfKey, dtmf_tone_audio_playback: DtmfToneAudioPlayback, /) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
105
|
+
def unmute(self) -> PhoneCallOperationStatus: ...
|
|
106
|
+
def unmute_async(self) -> windows_foundation.IAsyncOperation[PhoneCallOperationStatus]: ...
|
|
107
|
+
def add_audio_device_changed(self, handler: windows_foundation.TypedEventHandler[PhoneCall, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
108
|
+
def remove_audio_device_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
109
|
+
def add_is_muted_changed(self, handler: windows_foundation.TypedEventHandler[PhoneCall, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
110
|
+
def remove_is_muted_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
111
|
+
def add_status_changed(self, handler: windows_foundation.TypedEventHandler[PhoneCall, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
112
|
+
def remove_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
113
|
+
@_property
|
|
114
|
+
def audio_device(self) -> PhoneCallAudioDevice: ...
|
|
115
|
+
@_property
|
|
116
|
+
def call_id(self) -> str: ...
|
|
117
|
+
@_property
|
|
118
|
+
def is_muted(self) -> bool: ...
|
|
119
|
+
@_property
|
|
120
|
+
def status(self) -> PhoneCallStatus: ...
|
|
121
|
+
|
|
122
|
+
@typing.final
|
|
123
|
+
class PhoneCallBlocking_Static(type):
|
|
124
|
+
def set_call_blocking_list_async(cls, phone_number_list: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
125
|
+
@_property
|
|
126
|
+
def block_unknown_numbers(cls) -> bool: ...
|
|
127
|
+
@block_unknown_numbers.setter
|
|
128
|
+
def block_unknown_numbers(cls, value: bool) -> None: ...
|
|
129
|
+
@_property
|
|
130
|
+
def block_private_numbers(cls) -> bool: ...
|
|
131
|
+
@block_private_numbers.setter
|
|
132
|
+
def block_private_numbers(cls, value: bool) -> None: ...
|
|
133
|
+
|
|
134
|
+
@typing.final
|
|
135
|
+
class PhoneCallBlocking(winrt.system.Object, metaclass=PhoneCallBlocking_Static):
|
|
136
|
+
pass
|
|
137
|
+
|
|
138
|
+
@typing.final
|
|
139
|
+
class PhoneCallHistoryEntry(winrt.system.Object):
|
|
140
|
+
@staticmethod
|
|
141
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallHistoryEntry: ...
|
|
142
|
+
def __new__(cls: typing.Type[PhoneCallHistoryEntry]) -> PhoneCallHistoryEntry: ...
|
|
143
|
+
@_property
|
|
144
|
+
def media(self) -> PhoneCallHistoryEntryMedia: ...
|
|
145
|
+
@media.setter
|
|
146
|
+
def media(self, value: PhoneCallHistoryEntryMedia) -> None: ...
|
|
147
|
+
@_property
|
|
148
|
+
def is_missed(self) -> bool: ...
|
|
149
|
+
@is_missed.setter
|
|
150
|
+
def is_missed(self, value: bool) -> None: ...
|
|
151
|
+
@_property
|
|
152
|
+
def is_incoming(self) -> bool: ...
|
|
153
|
+
@is_incoming.setter
|
|
154
|
+
def is_incoming(self, value: bool) -> None: ...
|
|
155
|
+
@_property
|
|
156
|
+
def is_caller_id_blocked(self) -> bool: ...
|
|
157
|
+
@is_caller_id_blocked.setter
|
|
158
|
+
def is_caller_id_blocked(self, value: bool) -> None: ...
|
|
159
|
+
@_property
|
|
160
|
+
def is_seen(self) -> bool: ...
|
|
161
|
+
@is_seen.setter
|
|
162
|
+
def is_seen(self, value: bool) -> None: ...
|
|
163
|
+
@_property
|
|
164
|
+
def duration(self) -> typing.Optional[typing.Optional[datetime.timedelta]]: ...
|
|
165
|
+
@duration.setter
|
|
166
|
+
def duration(self, value: typing.Optional[typing.Optional[datetime.timedelta]]) -> None: ...
|
|
167
|
+
@_property
|
|
168
|
+
def is_emergency(self) -> bool: ...
|
|
169
|
+
@is_emergency.setter
|
|
170
|
+
def is_emergency(self, value: bool) -> None: ...
|
|
171
|
+
@_property
|
|
172
|
+
def is_suppressed(self) -> bool: ...
|
|
173
|
+
@is_suppressed.setter
|
|
174
|
+
def is_suppressed(self, value: bool) -> None: ...
|
|
175
|
+
@_property
|
|
176
|
+
def start_time(self) -> datetime.datetime: ...
|
|
177
|
+
@start_time.setter
|
|
178
|
+
def start_time(self, value: datetime.datetime) -> None: ...
|
|
179
|
+
@_property
|
|
180
|
+
def source_id_kind(self) -> PhoneCallHistorySourceIdKind: ...
|
|
181
|
+
@source_id_kind.setter
|
|
182
|
+
def source_id_kind(self, value: PhoneCallHistorySourceIdKind) -> None: ...
|
|
183
|
+
@_property
|
|
184
|
+
def address(self) -> typing.Optional[PhoneCallHistoryEntryAddress]: ...
|
|
185
|
+
@address.setter
|
|
186
|
+
def address(self, value: typing.Optional[PhoneCallHistoryEntryAddress]) -> None: ...
|
|
187
|
+
@_property
|
|
188
|
+
def source_id(self) -> str: ...
|
|
189
|
+
@source_id.setter
|
|
190
|
+
def source_id(self, value: str) -> None: ...
|
|
191
|
+
@_property
|
|
192
|
+
def remote_id(self) -> str: ...
|
|
193
|
+
@remote_id.setter
|
|
194
|
+
def remote_id(self, value: str) -> None: ...
|
|
195
|
+
@_property
|
|
196
|
+
def other_app_read_access(self) -> PhoneCallHistoryEntryOtherAppReadAccess: ...
|
|
197
|
+
@other_app_read_access.setter
|
|
198
|
+
def other_app_read_access(self, value: PhoneCallHistoryEntryOtherAppReadAccess) -> None: ...
|
|
199
|
+
@_property
|
|
200
|
+
def is_ringing(self) -> bool: ...
|
|
201
|
+
@is_ringing.setter
|
|
202
|
+
def is_ringing(self, value: bool) -> None: ...
|
|
203
|
+
@_property
|
|
204
|
+
def is_voicemail(self) -> bool: ...
|
|
205
|
+
@is_voicemail.setter
|
|
206
|
+
def is_voicemail(self, value: bool) -> None: ...
|
|
207
|
+
@_property
|
|
208
|
+
def id(self) -> str: ...
|
|
209
|
+
@_property
|
|
210
|
+
def source_display_name(self) -> str: ...
|
|
211
|
+
|
|
212
|
+
@typing.final
|
|
213
|
+
class PhoneCallHistoryEntryAddress(winrt.system.Object):
|
|
214
|
+
@staticmethod
|
|
215
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallHistoryEntryAddress: ...
|
|
216
|
+
@typing.overload
|
|
217
|
+
def __new__(cls: typing.Type[PhoneCallHistoryEntryAddress], raw_address: str, raw_address_kind: PhoneCallHistoryEntryRawAddressKind) -> PhoneCallHistoryEntryAddress: ...
|
|
218
|
+
@typing.overload
|
|
219
|
+
def __new__(cls: typing.Type[PhoneCallHistoryEntryAddress]) -> PhoneCallHistoryEntryAddress: ...
|
|
220
|
+
@_property
|
|
221
|
+
def raw_address_kind(self) -> PhoneCallHistoryEntryRawAddressKind: ...
|
|
222
|
+
@raw_address_kind.setter
|
|
223
|
+
def raw_address_kind(self, value: PhoneCallHistoryEntryRawAddressKind) -> None: ...
|
|
224
|
+
@_property
|
|
225
|
+
def raw_address(self) -> str: ...
|
|
226
|
+
@raw_address.setter
|
|
227
|
+
def raw_address(self, value: str) -> None: ...
|
|
228
|
+
@_property
|
|
229
|
+
def display_name(self) -> str: ...
|
|
230
|
+
@display_name.setter
|
|
231
|
+
def display_name(self, value: str) -> None: ...
|
|
232
|
+
@_property
|
|
233
|
+
def contact_id(self) -> str: ...
|
|
234
|
+
@contact_id.setter
|
|
235
|
+
def contact_id(self, value: str) -> None: ...
|
|
236
|
+
|
|
237
|
+
@typing.final
|
|
238
|
+
class PhoneCallHistoryEntryQueryOptions(winrt.system.Object):
|
|
239
|
+
@staticmethod
|
|
240
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallHistoryEntryQueryOptions: ...
|
|
241
|
+
def __new__(cls: typing.Type[PhoneCallHistoryEntryQueryOptions]) -> PhoneCallHistoryEntryQueryOptions: ...
|
|
242
|
+
@_property
|
|
243
|
+
def desired_media(self) -> PhoneCallHistoryEntryQueryDesiredMedia: ...
|
|
244
|
+
@desired_media.setter
|
|
245
|
+
def desired_media(self, value: PhoneCallHistoryEntryQueryDesiredMedia) -> None: ...
|
|
246
|
+
@_property
|
|
247
|
+
def source_ids(self) -> typing.Optional[windows_foundation_collections.IVector[str]]: ...
|
|
248
|
+
|
|
249
|
+
@typing.final
|
|
250
|
+
class PhoneCallHistoryEntryReader(winrt.system.Object):
|
|
251
|
+
@staticmethod
|
|
252
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallHistoryEntryReader: ...
|
|
253
|
+
def read_batch_async(self) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[PhoneCallHistoryEntry]]: ...
|
|
254
|
+
|
|
255
|
+
@typing.final
|
|
256
|
+
class PhoneCallHistoryManager_Static(type):
|
|
257
|
+
def get_for_user(cls, user: typing.Optional[windows_system.User], /) -> typing.Optional[PhoneCallHistoryManagerForUser]: ...
|
|
258
|
+
def request_store_async(cls, access_type: PhoneCallHistoryStoreAccessType, /) -> windows_foundation.IAsyncOperation[PhoneCallHistoryStore]: ...
|
|
259
|
+
|
|
260
|
+
@typing.final
|
|
261
|
+
class PhoneCallHistoryManager(winrt.system.Object, metaclass=PhoneCallHistoryManager_Static):
|
|
262
|
+
pass
|
|
263
|
+
|
|
264
|
+
@typing.final
|
|
265
|
+
class PhoneCallHistoryManagerForUser(winrt.system.Object):
|
|
266
|
+
@staticmethod
|
|
267
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallHistoryManagerForUser: ...
|
|
268
|
+
def request_store_async(self, access_type: PhoneCallHistoryStoreAccessType, /) -> windows_foundation.IAsyncOperation[PhoneCallHistoryStore]: ...
|
|
269
|
+
@_property
|
|
270
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
271
|
+
|
|
272
|
+
@typing.final
|
|
273
|
+
class PhoneCallHistoryStore(winrt.system.Object):
|
|
274
|
+
@staticmethod
|
|
275
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallHistoryStore: ...
|
|
276
|
+
def delete_entries_async(self, call_history_entries: typing.Iterable[PhoneCallHistoryEntry], /) -> windows_foundation.IAsyncAction: ...
|
|
277
|
+
def delete_entry_async(self, call_history_entry: typing.Optional[PhoneCallHistoryEntry], /) -> windows_foundation.IAsyncAction: ...
|
|
278
|
+
def get_entry_async(self, call_history_entry_id: str, /) -> windows_foundation.IAsyncOperation[PhoneCallHistoryEntry]: ...
|
|
279
|
+
@typing.overload
|
|
280
|
+
def get_entry_reader(self) -> typing.Optional[PhoneCallHistoryEntryReader]: ...
|
|
281
|
+
@typing.overload
|
|
282
|
+
def get_entry_reader(self, query_options: typing.Optional[PhoneCallHistoryEntryQueryOptions], /) -> typing.Optional[PhoneCallHistoryEntryReader]: ...
|
|
283
|
+
def get_sources_unseen_count_async(self, source_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
284
|
+
def get_unseen_count_async(self) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
285
|
+
def mark_all_as_seen_async(self) -> windows_foundation.IAsyncAction: ...
|
|
286
|
+
def mark_entries_as_seen_async(self, call_history_entries: typing.Iterable[PhoneCallHistoryEntry], /) -> windows_foundation.IAsyncAction: ...
|
|
287
|
+
def mark_entry_as_seen_async(self, call_history_entry: typing.Optional[PhoneCallHistoryEntry], /) -> windows_foundation.IAsyncAction: ...
|
|
288
|
+
def mark_sources_as_seen_async(self, source_ids: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
|
|
289
|
+
def save_entry_async(self, call_history_entry: typing.Optional[PhoneCallHistoryEntry], /) -> windows_foundation.IAsyncAction: ...
|
|
290
|
+
|
|
291
|
+
@typing.final
|
|
292
|
+
class PhoneCallInfo(winrt.system.Object):
|
|
293
|
+
@staticmethod
|
|
294
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallInfo: ...
|
|
295
|
+
@_property
|
|
296
|
+
def call_direction(self) -> PhoneCallDirection: ...
|
|
297
|
+
@_property
|
|
298
|
+
def display_name(self) -> str: ...
|
|
299
|
+
@_property
|
|
300
|
+
def is_hold_supported(self) -> bool: ...
|
|
301
|
+
@_property
|
|
302
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
303
|
+
@_property
|
|
304
|
+
def phone_number(self) -> str: ...
|
|
305
|
+
@_property
|
|
306
|
+
def start_time(self) -> datetime.datetime: ...
|
|
307
|
+
|
|
308
|
+
@typing.final
|
|
309
|
+
class PhoneCallManager_Static(type):
|
|
310
|
+
def request_store_async(cls) -> windows_foundation.IAsyncOperation[PhoneCallStore]: ...
|
|
311
|
+
def show_phone_call_settings_u_i(cls) -> None: ...
|
|
312
|
+
def show_phone_call_u_i(cls, phone_number: str, display_name: str, /) -> None: ...
|
|
313
|
+
def add_call_state_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
314
|
+
def remove_call_state_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
315
|
+
@_property
|
|
316
|
+
def is_call_active(cls) -> bool: ...
|
|
317
|
+
@_property
|
|
318
|
+
def is_call_incoming(cls) -> bool: ...
|
|
319
|
+
|
|
320
|
+
@typing.final
|
|
321
|
+
class PhoneCallManager(winrt.system.Object, metaclass=PhoneCallManager_Static):
|
|
322
|
+
pass
|
|
323
|
+
|
|
324
|
+
@typing.final
|
|
325
|
+
class PhoneCallStore(winrt.system.Object):
|
|
326
|
+
@staticmethod
|
|
327
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallStore: ...
|
|
328
|
+
def get_default_line_async(self) -> windows_foundation.IAsyncOperation[_uuid.UUID]: ...
|
|
329
|
+
def is_emergency_phone_number_async(self, number: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
330
|
+
def request_line_watcher(self) -> typing.Optional[PhoneLineWatcher]: ...
|
|
331
|
+
|
|
332
|
+
@typing.final
|
|
333
|
+
class PhoneCallVideoCapabilities(winrt.system.Object):
|
|
334
|
+
@staticmethod
|
|
335
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallVideoCapabilities: ...
|
|
336
|
+
@_property
|
|
337
|
+
def is_video_calling_capable(self) -> bool: ...
|
|
338
|
+
|
|
339
|
+
@typing.final
|
|
340
|
+
class PhoneCallVideoCapabilitiesManager_Static(type):
|
|
341
|
+
def get_capabilities_async(cls, phone_number: str, /) -> windows_foundation.IAsyncOperation[PhoneCallVideoCapabilities]: ...
|
|
342
|
+
|
|
343
|
+
@typing.final
|
|
344
|
+
class PhoneCallVideoCapabilitiesManager(winrt.system.Object, metaclass=PhoneCallVideoCapabilitiesManager_Static):
|
|
345
|
+
pass
|
|
346
|
+
|
|
347
|
+
@typing.final
|
|
348
|
+
class PhoneCallsResult(winrt.system.Object):
|
|
349
|
+
@staticmethod
|
|
350
|
+
def _from(obj: winrt.system.Object, /) -> PhoneCallsResult: ...
|
|
351
|
+
@_property
|
|
352
|
+
def all_active_phone_calls(self) -> typing.Optional[windows_foundation_collections.IVectorView[PhoneCall]]: ...
|
|
353
|
+
@_property
|
|
354
|
+
def operation_status(self) -> PhoneLineOperationStatus: ...
|
|
355
|
+
|
|
356
|
+
@typing.final
|
|
357
|
+
class PhoneDialOptions(winrt.system.Object):
|
|
358
|
+
@staticmethod
|
|
359
|
+
def _from(obj: winrt.system.Object, /) -> PhoneDialOptions: ...
|
|
360
|
+
def __new__(cls: typing.Type[PhoneDialOptions]) -> PhoneDialOptions: ...
|
|
361
|
+
@_property
|
|
362
|
+
def number(self) -> str: ...
|
|
363
|
+
@number.setter
|
|
364
|
+
def number(self, value: str) -> None: ...
|
|
365
|
+
@_property
|
|
366
|
+
def media(self) -> PhoneCallMedia: ...
|
|
367
|
+
@media.setter
|
|
368
|
+
def media(self, value: PhoneCallMedia) -> None: ...
|
|
369
|
+
@_property
|
|
370
|
+
def display_name(self) -> str: ...
|
|
371
|
+
@display_name.setter
|
|
372
|
+
def display_name(self, value: str) -> None: ...
|
|
373
|
+
@_property
|
|
374
|
+
def contact_phone(self) -> typing.Optional[windows_applicationmodel_contacts.ContactPhone]: ...
|
|
375
|
+
@contact_phone.setter
|
|
376
|
+
def contact_phone(self, value: typing.Optional[windows_applicationmodel_contacts.ContactPhone]) -> None: ...
|
|
377
|
+
@_property
|
|
378
|
+
def contact(self) -> typing.Optional[windows_applicationmodel_contacts.Contact]: ...
|
|
379
|
+
@contact.setter
|
|
380
|
+
def contact(self, value: typing.Optional[windows_applicationmodel_contacts.Contact]) -> None: ...
|
|
381
|
+
@_property
|
|
382
|
+
def audio_endpoint(self) -> PhoneAudioRoutingEndpoint: ...
|
|
383
|
+
@audio_endpoint.setter
|
|
384
|
+
def audio_endpoint(self, value: PhoneAudioRoutingEndpoint) -> None: ...
|
|
385
|
+
|
|
386
|
+
@typing.final
|
|
387
|
+
class PhoneLine_Static(type):
|
|
388
|
+
def from_id_async(cls, line_id: _uuid.UUID, /) -> windows_foundation.IAsyncOperation[PhoneLine]: ...
|
|
389
|
+
|
|
390
|
+
@typing.final
|
|
391
|
+
class PhoneLine(winrt.system.Object, metaclass=PhoneLine_Static):
|
|
392
|
+
@staticmethod
|
|
393
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLine: ...
|
|
394
|
+
def dial(self, number: str, display_name: str, /) -> None: ...
|
|
395
|
+
def dial_with_options(self, options: typing.Optional[PhoneDialOptions], /) -> None: ...
|
|
396
|
+
def dial_with_result(self, number: str, display_name: str, /) -> typing.Optional[PhoneLineDialResult]: ...
|
|
397
|
+
def dial_with_result_async(self, number: str, display_name: str, /) -> windows_foundation.IAsyncOperation[PhoneLineDialResult]: ...
|
|
398
|
+
def enable_text_reply(self, value: bool, /) -> None: ...
|
|
399
|
+
def get_all_active_phone_calls(self) -> typing.Optional[PhoneCallsResult]: ...
|
|
400
|
+
def get_all_active_phone_calls_async(self) -> windows_foundation.IAsyncOperation[PhoneCallsResult]: ...
|
|
401
|
+
def is_immediate_dial_number_async(self, number: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
402
|
+
def add_line_changed(self, handler: windows_foundation.TypedEventHandler[PhoneLine, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
403
|
+
def remove_line_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
404
|
+
@_property
|
|
405
|
+
def can_dial(self) -> bool: ...
|
|
406
|
+
@_property
|
|
407
|
+
def cellular_details(self) -> typing.Optional[PhoneLineCellularDetails]: ...
|
|
408
|
+
@_property
|
|
409
|
+
def display_color(self) -> windows_ui.Color: ...
|
|
410
|
+
@_property
|
|
411
|
+
def display_name(self) -> str: ...
|
|
412
|
+
@_property
|
|
413
|
+
def id(self) -> _uuid.UUID: ...
|
|
414
|
+
@_property
|
|
415
|
+
def line_configuration(self) -> typing.Optional[PhoneLineConfiguration]: ...
|
|
416
|
+
@_property
|
|
417
|
+
def network_name(self) -> str: ...
|
|
418
|
+
@_property
|
|
419
|
+
def network_state(self) -> PhoneNetworkState: ...
|
|
420
|
+
@_property
|
|
421
|
+
def supports_tile(self) -> bool: ...
|
|
422
|
+
@_property
|
|
423
|
+
def transport(self) -> PhoneLineTransport: ...
|
|
424
|
+
@_property
|
|
425
|
+
def video_calling_capabilities(self) -> typing.Optional[PhoneCallVideoCapabilities]: ...
|
|
426
|
+
@_property
|
|
427
|
+
def voicemail(self) -> typing.Optional[PhoneVoicemail]: ...
|
|
428
|
+
@_property
|
|
429
|
+
def transport_device_id(self) -> str: ...
|
|
430
|
+
|
|
431
|
+
@typing.final
|
|
432
|
+
class PhoneLineCellularDetails(winrt.system.Object):
|
|
433
|
+
@staticmethod
|
|
434
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLineCellularDetails: ...
|
|
435
|
+
def get_network_operator_display_text(self, location: PhoneLineNetworkOperatorDisplayTextLocation, /) -> str: ...
|
|
436
|
+
@_property
|
|
437
|
+
def is_modem_on(self) -> bool: ...
|
|
438
|
+
@_property
|
|
439
|
+
def registration_reject_code(self) -> winrt.system.Int32: ...
|
|
440
|
+
@_property
|
|
441
|
+
def sim_slot_index(self) -> winrt.system.Int32: ...
|
|
442
|
+
@_property
|
|
443
|
+
def sim_state(self) -> PhoneSimState: ...
|
|
444
|
+
|
|
445
|
+
@typing.final
|
|
446
|
+
class PhoneLineConfiguration(winrt.system.Object):
|
|
447
|
+
@staticmethod
|
|
448
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLineConfiguration: ...
|
|
449
|
+
@_property
|
|
450
|
+
def extended_properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, winrt.system.Object]]: ...
|
|
451
|
+
@_property
|
|
452
|
+
def is_video_calling_enabled(self) -> bool: ...
|
|
453
|
+
|
|
454
|
+
@typing.final
|
|
455
|
+
class PhoneLineDialResult(winrt.system.Object):
|
|
456
|
+
@staticmethod
|
|
457
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLineDialResult: ...
|
|
458
|
+
@_property
|
|
459
|
+
def dial_call_status(self) -> PhoneCallOperationStatus: ...
|
|
460
|
+
@_property
|
|
461
|
+
def dialed_call(self) -> typing.Optional[PhoneCall]: ...
|
|
462
|
+
|
|
463
|
+
@typing.final
|
|
464
|
+
class PhoneLineTransportDevice_Static(type):
|
|
465
|
+
def from_id(cls, id: str, /) -> typing.Optional[PhoneLineTransportDevice]: ...
|
|
466
|
+
@typing.overload
|
|
467
|
+
def get_device_selector(cls) -> str: ...
|
|
468
|
+
@typing.overload
|
|
469
|
+
def get_device_selector(cls, transport: PhoneLineTransport, /) -> str: ...
|
|
470
|
+
|
|
471
|
+
@typing.final
|
|
472
|
+
class PhoneLineTransportDevice(winrt.system.Object, metaclass=PhoneLineTransportDevice_Static):
|
|
473
|
+
@staticmethod
|
|
474
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLineTransportDevice: ...
|
|
475
|
+
def connect(self) -> bool: ...
|
|
476
|
+
def connect_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
477
|
+
def is_registered(self) -> bool: ...
|
|
478
|
+
def register_app(self) -> None: ...
|
|
479
|
+
def register_app_for_user(self, user: typing.Optional[windows_system.User], /) -> None: ...
|
|
480
|
+
def request_access_async(self) -> windows_foundation.IAsyncOperation[windows_devices_enumeration.DeviceAccessStatus]: ...
|
|
481
|
+
def unregister_app(self) -> None: ...
|
|
482
|
+
def unregister_app_for_user(self, user: typing.Optional[windows_system.User], /) -> None: ...
|
|
483
|
+
def add_audio_routing_status_changed(self, handler: windows_foundation.TypedEventHandler[PhoneLineTransportDevice, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
484
|
+
def remove_audio_routing_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
485
|
+
def add_in_band_ringing_enabled_changed(self, handler: windows_foundation.TypedEventHandler[PhoneLineTransportDevice, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
486
|
+
def remove_in_band_ringing_enabled_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
487
|
+
@_property
|
|
488
|
+
def device_id(self) -> str: ...
|
|
489
|
+
@_property
|
|
490
|
+
def transport(self) -> PhoneLineTransport: ...
|
|
491
|
+
@_property
|
|
492
|
+
def audio_routing_status(self) -> TransportDeviceAudioRoutingStatus: ...
|
|
493
|
+
@_property
|
|
494
|
+
def in_band_ringing_enabled(self) -> bool: ...
|
|
495
|
+
|
|
496
|
+
@typing.final
|
|
497
|
+
class PhoneLineWatcher(winrt.system.Object):
|
|
498
|
+
@staticmethod
|
|
499
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLineWatcher: ...
|
|
500
|
+
def start(self) -> None: ...
|
|
501
|
+
def stop(self) -> None: ...
|
|
502
|
+
def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[PhoneLineWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
503
|
+
def remove_enumeration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
504
|
+
def add_line_added(self, handler: windows_foundation.TypedEventHandler[PhoneLineWatcher, PhoneLineWatcherEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
505
|
+
def remove_line_added(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
506
|
+
def add_line_removed(self, handler: windows_foundation.TypedEventHandler[PhoneLineWatcher, PhoneLineWatcherEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
507
|
+
def remove_line_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
508
|
+
def add_line_updated(self, handler: windows_foundation.TypedEventHandler[PhoneLineWatcher, PhoneLineWatcherEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
509
|
+
def remove_line_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
510
|
+
def add_stopped(self, handler: windows_foundation.TypedEventHandler[PhoneLineWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
511
|
+
def remove_stopped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
512
|
+
@_property
|
|
513
|
+
def status(self) -> PhoneLineWatcherStatus: ...
|
|
514
|
+
|
|
515
|
+
@typing.final
|
|
516
|
+
class PhoneLineWatcherEventArgs(winrt.system.Object):
|
|
517
|
+
@staticmethod
|
|
518
|
+
def _from(obj: winrt.system.Object, /) -> PhoneLineWatcherEventArgs: ...
|
|
519
|
+
@_property
|
|
520
|
+
def line_id(self) -> _uuid.UUID: ...
|
|
521
|
+
|
|
522
|
+
@typing.final
|
|
523
|
+
class PhoneVoicemail(winrt.system.Object):
|
|
524
|
+
@staticmethod
|
|
525
|
+
def _from(obj: winrt.system.Object, /) -> PhoneVoicemail: ...
|
|
526
|
+
def dial_voicemail_async(self) -> windows_foundation.IAsyncAction: ...
|
|
527
|
+
@_property
|
|
528
|
+
def message_count(self) -> winrt.system.Int32: ...
|
|
529
|
+
@_property
|
|
530
|
+
def number(self) -> str: ...
|
|
531
|
+
@_property
|
|
532
|
+
def type(self) -> PhoneVoicemailType: ...
|
|
533
|
+
|
|
534
|
+
@typing.final
|
|
535
|
+
class VoipCallCoordinator_Static(type):
|
|
536
|
+
def get_default(cls) -> typing.Optional[VoipCallCoordinator]: ...
|
|
537
|
+
|
|
538
|
+
@typing.final
|
|
539
|
+
class VoipCallCoordinator(winrt.system.Object, metaclass=VoipCallCoordinator_Static):
|
|
540
|
+
@staticmethod
|
|
541
|
+
def _from(obj: winrt.system.Object, /) -> VoipCallCoordinator: ...
|
|
542
|
+
def cancel_upgrade(self, call_upgrade_guid: _uuid.UUID, /) -> None: ...
|
|
543
|
+
def notify_muted(self) -> None: ...
|
|
544
|
+
def notify_unmuted(self) -> None: ...
|
|
545
|
+
def request_incoming_upgrade_to_video_call(self, context: str, contact_name: str, contact_number: str, contact_image: typing.Optional[windows_foundation.Uri], service_name: str, branding_image: typing.Optional[windows_foundation.Uri], call_details: str, ringtone: typing.Optional[windows_foundation.Uri], ring_timeout: datetime.timedelta, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
546
|
+
def request_new_app_initiated_call(self, context: str, contact_name: str, contact_number: str, service_name: str, media: VoipPhoneCallMedia, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
547
|
+
@typing.overload
|
|
548
|
+
def request_new_incoming_call(self, context: str, contact_name: str, contact_number: str, contact_image: typing.Optional[windows_foundation.Uri], service_name: str, branding_image: typing.Optional[windows_foundation.Uri], call_details: str, ringtone: typing.Optional[windows_foundation.Uri], media: VoipPhoneCallMedia, ring_timeout: datetime.timedelta, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
549
|
+
@typing.overload
|
|
550
|
+
def request_new_incoming_call(self, context: str, contact_name: str, contact_number: str, contact_image: typing.Optional[windows_foundation.Uri], service_name: str, branding_image: typing.Optional[windows_foundation.Uri], call_details: str, ringtone: typing.Optional[windows_foundation.Uri], media: VoipPhoneCallMedia, ring_timeout: datetime.timedelta, contact_remote_id: str, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
551
|
+
def request_new_outgoing_call(self, context: str, contact_name: str, service_name: str, media: VoipPhoneCallMedia, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
552
|
+
def request_outgoing_upgrade_to_video_call(self, call_upgrade_guid: _uuid.UUID, context: str, contact_name: str, service_name: str, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
553
|
+
@typing.overload
|
|
554
|
+
def reserve_call_resources_async(self) -> windows_foundation.IAsyncOperation[VoipPhoneCallResourceReservationStatus]: ...
|
|
555
|
+
@typing.overload
|
|
556
|
+
def reserve_call_resources_async(self, task_entry_point: str, /) -> windows_foundation.IAsyncOperation[VoipPhoneCallResourceReservationStatus]: ...
|
|
557
|
+
def setup_new_accepted_call(self, context: str, contact_name: str, contact_number: str, service_name: str, media: VoipPhoneCallMedia, /) -> typing.Optional[VoipPhoneCall]: ...
|
|
558
|
+
def terminate_cellular_call(self, call_upgrade_guid: _uuid.UUID, /) -> None: ...
|
|
559
|
+
def add_mute_state_changed(self, mute_change_handler: windows_foundation.TypedEventHandler[VoipCallCoordinator, MuteChangeEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
560
|
+
def remove_mute_state_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
561
|
+
|
|
562
|
+
@typing.final
|
|
563
|
+
class VoipPhoneCall(winrt.system.Object):
|
|
564
|
+
@staticmethod
|
|
565
|
+
def _from(obj: winrt.system.Object, /) -> VoipPhoneCall: ...
|
|
566
|
+
def notify_call_accepted(self, media: VoipPhoneCallMedia, /) -> None: ...
|
|
567
|
+
def notify_call_active(self) -> None: ...
|
|
568
|
+
def notify_call_ended(self) -> None: ...
|
|
569
|
+
def notify_call_held(self) -> None: ...
|
|
570
|
+
def notify_call_ready(self) -> None: ...
|
|
571
|
+
def try_show_app_u_i(self) -> None: ...
|
|
572
|
+
def add_answer_requested(self, accept_handler: windows_foundation.TypedEventHandler[VoipPhoneCall, CallAnswerEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
573
|
+
def remove_answer_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
574
|
+
def add_end_requested(self, handler: windows_foundation.TypedEventHandler[VoipPhoneCall, CallStateChangeEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
575
|
+
def remove_end_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
576
|
+
def add_hold_requested(self, handler: windows_foundation.TypedEventHandler[VoipPhoneCall, CallStateChangeEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
577
|
+
def remove_hold_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
578
|
+
def add_reject_requested(self, reject_handler: windows_foundation.TypedEventHandler[VoipPhoneCall, CallRejectEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
579
|
+
def remove_reject_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
580
|
+
def add_resume_requested(self, handler: windows_foundation.TypedEventHandler[VoipPhoneCall, CallStateChangeEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
581
|
+
def remove_resume_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
582
|
+
@_property
|
|
583
|
+
def start_time(self) -> datetime.datetime: ...
|
|
584
|
+
@start_time.setter
|
|
585
|
+
def start_time(self, value: datetime.datetime) -> None: ...
|
|
586
|
+
@_property
|
|
587
|
+
def contact_name(self) -> str: ...
|
|
588
|
+
@contact_name.setter
|
|
589
|
+
def contact_name(self, value: str) -> None: ...
|
|
590
|
+
@_property
|
|
591
|
+
def call_media(self) -> VoipPhoneCallMedia: ...
|
|
592
|
+
@call_media.setter
|
|
593
|
+
def call_media(self, value: VoipPhoneCallMedia) -> None: ...
|
|
594
|
+
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_applicationmodel_calls
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"CellularDtmfMode",
|
|
10
|
+
"DtmfKey",
|
|
11
|
+
"DtmfToneAudioPlayback",
|
|
12
|
+
"PhoneAudioRoutingEndpoint",
|
|
13
|
+
"PhoneCallAudioDevice",
|
|
14
|
+
"PhoneCallDirection",
|
|
15
|
+
"PhoneCallHistoryEntryMedia",
|
|
16
|
+
"PhoneCallHistoryEntryOtherAppReadAccess",
|
|
17
|
+
"PhoneCallHistoryEntryQueryDesiredMedia",
|
|
18
|
+
"PhoneCallHistoryEntryRawAddressKind",
|
|
19
|
+
"PhoneCallHistorySourceIdKind",
|
|
20
|
+
"PhoneCallHistoryStoreAccessType",
|
|
21
|
+
"PhoneCallMedia",
|
|
22
|
+
"PhoneCallOperationStatus",
|
|
23
|
+
"PhoneCallStatus",
|
|
24
|
+
"PhoneLineNetworkOperatorDisplayTextLocation",
|
|
25
|
+
"PhoneLineOperationStatus",
|
|
26
|
+
"PhoneLineTransport",
|
|
27
|
+
"PhoneLineWatcherStatus",
|
|
28
|
+
"PhoneNetworkState",
|
|
29
|
+
"PhoneSimState",
|
|
30
|
+
"PhoneVoicemailType",
|
|
31
|
+
"TransportDeviceAudioRoutingStatus",
|
|
32
|
+
"VoipPhoneCallMedia",
|
|
33
|
+
"VoipPhoneCallRejectReason",
|
|
34
|
+
"VoipPhoneCallResourceReservationStatus",
|
|
35
|
+
"VoipPhoneCallState",
|
|
36
|
+
"CallAnswerEventArgs",
|
|
37
|
+
"CallRejectEventArgs",
|
|
38
|
+
"CallStateChangeEventArgs",
|
|
39
|
+
"LockScreenCallEndCallDeferral",
|
|
40
|
+
"LockScreenCallEndRequestedEventArgs",
|
|
41
|
+
"LockScreenCallUI",
|
|
42
|
+
"MuteChangeEventArgs",
|
|
43
|
+
"PhoneCall",
|
|
44
|
+
"PhoneCallBlocking",
|
|
45
|
+
"PhoneCallHistoryEntry",
|
|
46
|
+
"PhoneCallHistoryEntryAddress",
|
|
47
|
+
"PhoneCallHistoryEntryQueryOptions",
|
|
48
|
+
"PhoneCallHistoryEntryReader",
|
|
49
|
+
"PhoneCallHistoryManager",
|
|
50
|
+
"PhoneCallHistoryManagerForUser",
|
|
51
|
+
"PhoneCallHistoryStore",
|
|
52
|
+
"PhoneCallInfo",
|
|
53
|
+
"PhoneCallManager",
|
|
54
|
+
"PhoneCallStore",
|
|
55
|
+
"PhoneCallVideoCapabilities",
|
|
56
|
+
"PhoneCallVideoCapabilitiesManager",
|
|
57
|
+
"PhoneCallsResult",
|
|
58
|
+
"PhoneDialOptions",
|
|
59
|
+
"PhoneLine",
|
|
60
|
+
"PhoneLineCellularDetails",
|
|
61
|
+
"PhoneLineConfiguration",
|
|
62
|
+
"PhoneLineDialResult",
|
|
63
|
+
"PhoneLineTransportDevice",
|
|
64
|
+
"PhoneLineWatcher",
|
|
65
|
+
"PhoneLineWatcherEventArgs",
|
|
66
|
+
"PhoneVoicemail",
|
|
67
|
+
"VoipCallCoordinator",
|
|
68
|
+
"VoipPhoneCall",
|
|
69
|
+
]
|
|
70
|
+
|
|
71
|
+
class CellularDtmfMode(enum.IntEnum):
|
|
72
|
+
CONTINUOUS = 0
|
|
73
|
+
BURST = 1
|
|
74
|
+
|
|
75
|
+
class DtmfKey(enum.IntEnum):
|
|
76
|
+
D0 = 0
|
|
77
|
+
D1 = 1
|
|
78
|
+
D2 = 2
|
|
79
|
+
D3 = 3
|
|
80
|
+
D4 = 4
|
|
81
|
+
D5 = 5
|
|
82
|
+
D6 = 6
|
|
83
|
+
D7 = 7
|
|
84
|
+
D8 = 8
|
|
85
|
+
D9 = 9
|
|
86
|
+
STAR = 10
|
|
87
|
+
POUND = 11
|
|
88
|
+
|
|
89
|
+
class DtmfToneAudioPlayback(enum.IntEnum):
|
|
90
|
+
PLAY = 0
|
|
91
|
+
DO_NOT_PLAY = 1
|
|
92
|
+
|
|
93
|
+
class PhoneAudioRoutingEndpoint(enum.IntEnum):
|
|
94
|
+
DEFAULT = 0
|
|
95
|
+
BLUETOOTH = 1
|
|
96
|
+
SPEAKERPHONE = 2
|
|
97
|
+
|
|
98
|
+
class PhoneCallAudioDevice(enum.IntEnum):
|
|
99
|
+
UNKNOWN = 0
|
|
100
|
+
LOCAL_DEVICE = 1
|
|
101
|
+
REMOTE_DEVICE = 2
|
|
102
|
+
|
|
103
|
+
class PhoneCallDirection(enum.IntEnum):
|
|
104
|
+
UNKNOWN = 0
|
|
105
|
+
INCOMING = 1
|
|
106
|
+
OUTGOING = 2
|
|
107
|
+
|
|
108
|
+
class PhoneCallHistoryEntryMedia(enum.IntEnum):
|
|
109
|
+
AUDIO = 0
|
|
110
|
+
VIDEO = 1
|
|
111
|
+
|
|
112
|
+
class PhoneCallHistoryEntryOtherAppReadAccess(enum.IntEnum):
|
|
113
|
+
FULL = 0
|
|
114
|
+
SYSTEM_ONLY = 1
|
|
115
|
+
|
|
116
|
+
class PhoneCallHistoryEntryQueryDesiredMedia(enum.IntFlag):
|
|
117
|
+
NONE = 0x0
|
|
118
|
+
AUDIO = 0x1
|
|
119
|
+
VIDEO = 0x2
|
|
120
|
+
ALL = 0xFFFFFFFF
|
|
121
|
+
|
|
122
|
+
class PhoneCallHistoryEntryRawAddressKind(enum.IntEnum):
|
|
123
|
+
PHONE_NUMBER = 0
|
|
124
|
+
CUSTOM = 1
|
|
125
|
+
|
|
126
|
+
class PhoneCallHistorySourceIdKind(enum.IntEnum):
|
|
127
|
+
CELLULAR_PHONE_LINE_ID = 0
|
|
128
|
+
PACKAGE_FAMILY_NAME = 1
|
|
129
|
+
|
|
130
|
+
class PhoneCallHistoryStoreAccessType(enum.IntEnum):
|
|
131
|
+
APP_ENTRIES_READ_WRITE = 0
|
|
132
|
+
ALL_ENTRIES_LIMITED_READ_WRITE = 1
|
|
133
|
+
ALL_ENTRIES_READ_WRITE = 2
|
|
134
|
+
|
|
135
|
+
class PhoneCallMedia(enum.IntEnum):
|
|
136
|
+
AUDIO = 0
|
|
137
|
+
AUDIO_AND_VIDEO = 1
|
|
138
|
+
AUDIO_AND_REAL_TIME_TEXT = 2
|
|
139
|
+
|
|
140
|
+
class PhoneCallOperationStatus(enum.IntEnum):
|
|
141
|
+
SUCCEEDED = 0
|
|
142
|
+
OTHER_FAILURE = 1
|
|
143
|
+
TIMED_OUT = 2
|
|
144
|
+
CONNECTION_LOST = 3
|
|
145
|
+
INVALID_CALL_STATE = 4
|
|
146
|
+
|
|
147
|
+
class PhoneCallStatus(enum.IntEnum):
|
|
148
|
+
LOST = 0
|
|
149
|
+
INCOMING = 1
|
|
150
|
+
DIALING = 2
|
|
151
|
+
TALKING = 3
|
|
152
|
+
HELD = 4
|
|
153
|
+
ENDED = 5
|
|
154
|
+
|
|
155
|
+
class PhoneLineNetworkOperatorDisplayTextLocation(enum.IntEnum):
|
|
156
|
+
DEFAULT = 0
|
|
157
|
+
TILE = 1
|
|
158
|
+
DIALER = 2
|
|
159
|
+
IN_CALL_U_I = 3
|
|
160
|
+
|
|
161
|
+
class PhoneLineOperationStatus(enum.IntEnum):
|
|
162
|
+
SUCCEEDED = 0
|
|
163
|
+
OTHER_FAILURE = 1
|
|
164
|
+
TIMED_OUT = 2
|
|
165
|
+
CONNECTION_LOST = 3
|
|
166
|
+
INVALID_CALL_STATE = 4
|
|
167
|
+
|
|
168
|
+
class PhoneLineTransport(enum.IntEnum):
|
|
169
|
+
CELLULAR = 0
|
|
170
|
+
VOIP_APP = 1
|
|
171
|
+
BLUETOOTH = 2
|
|
172
|
+
|
|
173
|
+
class PhoneLineWatcherStatus(enum.IntEnum):
|
|
174
|
+
CREATED = 0
|
|
175
|
+
STARTED = 1
|
|
176
|
+
ENUMERATION_COMPLETED = 2
|
|
177
|
+
STOPPED = 3
|
|
178
|
+
|
|
179
|
+
class PhoneNetworkState(enum.IntEnum):
|
|
180
|
+
UNKNOWN = 0
|
|
181
|
+
NO_SIGNAL = 1
|
|
182
|
+
DEREGISTERED = 2
|
|
183
|
+
DENIED = 3
|
|
184
|
+
SEARCHING = 4
|
|
185
|
+
HOME = 5
|
|
186
|
+
ROAMING_INTERNATIONAL = 6
|
|
187
|
+
ROAMING_DOMESTIC = 7
|
|
188
|
+
|
|
189
|
+
class PhoneSimState(enum.IntEnum):
|
|
190
|
+
UNKNOWN = 0
|
|
191
|
+
PIN_NOT_REQUIRED = 1
|
|
192
|
+
PIN_UNLOCKED = 2
|
|
193
|
+
PIN_LOCKED = 3
|
|
194
|
+
PUK_LOCKED = 4
|
|
195
|
+
NOT_INSERTED = 5
|
|
196
|
+
INVALID = 6
|
|
197
|
+
DISABLED = 7
|
|
198
|
+
|
|
199
|
+
class PhoneVoicemailType(enum.IntEnum):
|
|
200
|
+
NONE = 0
|
|
201
|
+
TRADITIONAL = 1
|
|
202
|
+
VISUAL = 2
|
|
203
|
+
|
|
204
|
+
class TransportDeviceAudioRoutingStatus(enum.IntEnum):
|
|
205
|
+
UNKNOWN = 0
|
|
206
|
+
CAN_ROUTE_TO_LOCAL_DEVICE = 1
|
|
207
|
+
CANNOT_ROUTE_TO_LOCAL_DEVICE = 2
|
|
208
|
+
|
|
209
|
+
class VoipPhoneCallMedia(enum.IntFlag):
|
|
210
|
+
NONE = 0x0
|
|
211
|
+
AUDIO = 0x1
|
|
212
|
+
VIDEO = 0x2
|
|
213
|
+
|
|
214
|
+
class VoipPhoneCallRejectReason(enum.IntEnum):
|
|
215
|
+
USER_IGNORED = 0
|
|
216
|
+
TIMED_OUT = 1
|
|
217
|
+
OTHER_INCOMING_CALL = 2
|
|
218
|
+
EMERGENCY_CALL_EXISTS = 3
|
|
219
|
+
INVALID_CALL_STATE = 4
|
|
220
|
+
|
|
221
|
+
class VoipPhoneCallResourceReservationStatus(enum.IntEnum):
|
|
222
|
+
SUCCESS = 0
|
|
223
|
+
RESOURCES_NOT_AVAILABLE = 1
|
|
224
|
+
|
|
225
|
+
class VoipPhoneCallState(enum.IntEnum):
|
|
226
|
+
ENDED = 0
|
|
227
|
+
HELD = 1
|
|
228
|
+
ACTIVE = 2
|
|
229
|
+
INCOMING = 3
|
|
230
|
+
OUTGOING = 4
|
|
231
|
+
|
|
232
|
+
CallAnswerEventArgs = _winrt_windows_applicationmodel_calls.CallAnswerEventArgs
|
|
233
|
+
CallRejectEventArgs = _winrt_windows_applicationmodel_calls.CallRejectEventArgs
|
|
234
|
+
CallStateChangeEventArgs = _winrt_windows_applicationmodel_calls.CallStateChangeEventArgs
|
|
235
|
+
LockScreenCallEndCallDeferral = _winrt_windows_applicationmodel_calls.LockScreenCallEndCallDeferral
|
|
236
|
+
LockScreenCallEndRequestedEventArgs = _winrt_windows_applicationmodel_calls.LockScreenCallEndRequestedEventArgs
|
|
237
|
+
LockScreenCallUI = _winrt_windows_applicationmodel_calls.LockScreenCallUI
|
|
238
|
+
MuteChangeEventArgs = _winrt_windows_applicationmodel_calls.MuteChangeEventArgs
|
|
239
|
+
PhoneCall = _winrt_windows_applicationmodel_calls.PhoneCall
|
|
240
|
+
PhoneCallBlocking = _winrt_windows_applicationmodel_calls.PhoneCallBlocking
|
|
241
|
+
PhoneCallHistoryEntry = _winrt_windows_applicationmodel_calls.PhoneCallHistoryEntry
|
|
242
|
+
PhoneCallHistoryEntryAddress = _winrt_windows_applicationmodel_calls.PhoneCallHistoryEntryAddress
|
|
243
|
+
PhoneCallHistoryEntryQueryOptions = _winrt_windows_applicationmodel_calls.PhoneCallHistoryEntryQueryOptions
|
|
244
|
+
PhoneCallHistoryEntryReader = _winrt_windows_applicationmodel_calls.PhoneCallHistoryEntryReader
|
|
245
|
+
PhoneCallHistoryManager = _winrt_windows_applicationmodel_calls.PhoneCallHistoryManager
|
|
246
|
+
PhoneCallHistoryManagerForUser = _winrt_windows_applicationmodel_calls.PhoneCallHistoryManagerForUser
|
|
247
|
+
PhoneCallHistoryStore = _winrt_windows_applicationmodel_calls.PhoneCallHistoryStore
|
|
248
|
+
PhoneCallInfo = _winrt_windows_applicationmodel_calls.PhoneCallInfo
|
|
249
|
+
PhoneCallManager = _winrt_windows_applicationmodel_calls.PhoneCallManager
|
|
250
|
+
PhoneCallStore = _winrt_windows_applicationmodel_calls.PhoneCallStore
|
|
251
|
+
PhoneCallVideoCapabilities = _winrt_windows_applicationmodel_calls.PhoneCallVideoCapabilities
|
|
252
|
+
PhoneCallVideoCapabilitiesManager = _winrt_windows_applicationmodel_calls.PhoneCallVideoCapabilitiesManager
|
|
253
|
+
PhoneCallsResult = _winrt_windows_applicationmodel_calls.PhoneCallsResult
|
|
254
|
+
PhoneDialOptions = _winrt_windows_applicationmodel_calls.PhoneDialOptions
|
|
255
|
+
PhoneLine = _winrt_windows_applicationmodel_calls.PhoneLine
|
|
256
|
+
PhoneLineCellularDetails = _winrt_windows_applicationmodel_calls.PhoneLineCellularDetails
|
|
257
|
+
PhoneLineConfiguration = _winrt_windows_applicationmodel_calls.PhoneLineConfiguration
|
|
258
|
+
PhoneLineDialResult = _winrt_windows_applicationmodel_calls.PhoneLineDialResult
|
|
259
|
+
PhoneLineTransportDevice = _winrt_windows_applicationmodel_calls.PhoneLineTransportDevice
|
|
260
|
+
PhoneLineWatcher = _winrt_windows_applicationmodel_calls.PhoneLineWatcher
|
|
261
|
+
PhoneLineWatcherEventArgs = _winrt_windows_applicationmodel_calls.PhoneLineWatcherEventArgs
|
|
262
|
+
PhoneVoicemail = _winrt_windows_applicationmodel_calls.PhoneVoicemail
|
|
263
|
+
VoipCallCoordinator = _winrt_windows_applicationmodel_calls.VoipCallCoordinator
|
|
264
|
+
VoipPhoneCall = _winrt_windows_applicationmodel_calls.VoipPhoneCall
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.Calls
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Devices.Enumeration[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.ApplicationModel.Calls
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Calls` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.applicationmodel.calls` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_calls.cp313-win32.pyd,sha256=K2_WfcYCW4nL8o_V_HEQcBRe6q9-pj0k4ddbyYo463U,522240
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_calls.pyi,sha256=H79NkYccnea4peSw2iCtZN8td8-3wxqII0O5qUb7PV8,31724
|
|
3
|
+
winrt/windows/applicationmodel/calls/__init__.py,sha256=EoqabIuxIZRHnytGxq7ivqWDvfo7FqoIrR3AMTJ8ZAg,8034
|
|
4
|
+
winrt/windows/applicationmodel/calls/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/METADATA,sha256=EuN-upukbrOvc-_j44c1FbC4oZbXGU8FVpbz7HRQGvs,1450
|
|
6
|
+
winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/WHEEL,sha256=rHSPOKLHVf857fDiba9Pzuf1iCvh9pcRQ5-VWQYz3ms,97
|
|
7
|
+
winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.Calls-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|