winrt-Windows.ApplicationModel.VoiceCommands 4!10.0.28000.2705__py3-none-any.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/windows/applicationmodel/voicecommands/__init__.py +24 -0
- winrt/windows/applicationmodel/voicecommands/__init__.pyi +265 -0
- winrt/windows/applicationmodel/voicecommands/_table.pywinrt +0 -0
- winrt/windows/applicationmodel/voicecommands/py.typed +0 -0
- winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/METADATA +50 -0
- winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"VoiceCommandCompletionReason",
|
|
10
|
+
"VoiceCommandContentTileType",
|
|
11
|
+
"VoiceCommand",
|
|
12
|
+
"VoiceCommandCompletedEventArgs",
|
|
13
|
+
"VoiceCommandConfirmationResult",
|
|
14
|
+
"VoiceCommandContentTile",
|
|
15
|
+
"VoiceCommandDefinition",
|
|
16
|
+
"VoiceCommandDefinitionManager",
|
|
17
|
+
"VoiceCommandDisambiguationResult",
|
|
18
|
+
"VoiceCommandResponse",
|
|
19
|
+
"VoiceCommandServiceConnection",
|
|
20
|
+
"VoiceCommandUserMessage",
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
winrt.runtime._internals.alias_static_method(VoiceCommandResponse, "create_response_with_tiles", "create_response")
|
|
24
|
+
winrt.runtime._internals.alias_static_method(VoiceCommandResponse, "create_response_for_prompt_with_tiles", "create_response_for_prompt")
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
from typing_extensions import deprecated
|
|
8
|
+
|
|
9
|
+
import winrt.system
|
|
10
|
+
import winrt.windows.applicationmodel.appservice as windows_applicationmodel_appservice
|
|
11
|
+
import winrt.windows.foundation as windows_foundation
|
|
12
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
13
|
+
import winrt.windows.globalization as windows_globalization
|
|
14
|
+
import winrt.windows.media.speechrecognition as windows_media_speechrecognition
|
|
15
|
+
import winrt.windows.storage as windows_storage
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"VoiceCommandCompletionReason",
|
|
19
|
+
"VoiceCommandContentTileType",
|
|
20
|
+
"VoiceCommand",
|
|
21
|
+
"VoiceCommandCompletedEventArgs",
|
|
22
|
+
"VoiceCommandConfirmationResult",
|
|
23
|
+
"VoiceCommandContentTile",
|
|
24
|
+
"VoiceCommandDefinition",
|
|
25
|
+
"VoiceCommandDefinitionManager",
|
|
26
|
+
"VoiceCommandDisambiguationResult",
|
|
27
|
+
"VoiceCommandResponse",
|
|
28
|
+
"VoiceCommandServiceConnection",
|
|
29
|
+
"VoiceCommandUserMessage",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
class VoiceCommandCompletionReason(enum.IntEnum):
|
|
33
|
+
UNKNOWN = 0
|
|
34
|
+
COMMUNICATION_FAILED = 1
|
|
35
|
+
RESOURCE_LIMITS_EXCEEDED = 2
|
|
36
|
+
CANCELED = 3
|
|
37
|
+
TIMEOUT_EXCEEDED = 4
|
|
38
|
+
APP_LAUNCHED = 5
|
|
39
|
+
COMPLETED = 6
|
|
40
|
+
|
|
41
|
+
class VoiceCommandContentTileType(enum.IntEnum):
|
|
42
|
+
TITLE_ONLY = 0
|
|
43
|
+
TITLE_WITH_TEXT = 1
|
|
44
|
+
TITLE_WITH68X68_ICON = 2
|
|
45
|
+
TITLE_WITH68X68_ICON_AND_TEXT = 3
|
|
46
|
+
TITLE_WITH68X92_ICON = 4
|
|
47
|
+
TITLE_WITH68X92_ICON_AND_TEXT = 5
|
|
48
|
+
TITLE_WITH280X140_ICON = 6
|
|
49
|
+
TITLE_WITH280X140_ICON_AND_TEXT = 7
|
|
50
|
+
|
|
51
|
+
@typing.final
|
|
52
|
+
class VoiceCommand(winrt.system.Object):
|
|
53
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
54
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
55
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommand::get_CommandName()
|
|
56
|
+
@_property
|
|
57
|
+
def command_name(self) -> str: ...
|
|
58
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.Foundation.Collections.IVectorView`1<System.String>> Windows.ApplicationModel.VoiceCommands.VoiceCommand::get_Properties()
|
|
59
|
+
@_property
|
|
60
|
+
def properties(self) -> _cabc.Mapping[str, _cabc.Sequence[str]]: ...
|
|
61
|
+
# Windows.Media.SpeechRecognition.SpeechRecognitionResult Windows.ApplicationModel.VoiceCommands.VoiceCommand::get_SpeechRecognitionResult()
|
|
62
|
+
@_property
|
|
63
|
+
def speech_recognition_result(self) -> windows_media_speechrecognition.SpeechRecognitionResult: ...
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class VoiceCommandCompletedEventArgs(winrt.system.Object):
|
|
67
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
68
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
69
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletionReason Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs::get_Reason()
|
|
70
|
+
@_property
|
|
71
|
+
def reason(self) -> VoiceCommandCompletionReason: ...
|
|
72
|
+
|
|
73
|
+
@typing.final
|
|
74
|
+
class VoiceCommandConfirmationResult(winrt.system.Object):
|
|
75
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
76
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
77
|
+
# System.Boolean Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult::get_Confirmed()
|
|
78
|
+
@_property
|
|
79
|
+
def confirmed(self) -> bool: ...
|
|
80
|
+
|
|
81
|
+
@typing.final
|
|
82
|
+
class VoiceCommandContentTile(winrt.system.Object):
|
|
83
|
+
def __new__(cls) -> typing.Self: ...
|
|
84
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_Title()
|
|
85
|
+
@_property
|
|
86
|
+
def title(self) -> str: ...
|
|
87
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_Title(System.String)
|
|
88
|
+
@title.setter
|
|
89
|
+
def title(self, value: str) -> None: ...
|
|
90
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_TextLine3()
|
|
91
|
+
@_property
|
|
92
|
+
def text_line3(self) -> str: ...
|
|
93
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_TextLine3(System.String)
|
|
94
|
+
@text_line3.setter
|
|
95
|
+
def text_line3(self, value: str) -> None: ...
|
|
96
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_TextLine2()
|
|
97
|
+
@_property
|
|
98
|
+
def text_line2(self) -> str: ...
|
|
99
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_TextLine2(System.String)
|
|
100
|
+
@text_line2.setter
|
|
101
|
+
def text_line2(self, value: str) -> None: ...
|
|
102
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_TextLine1()
|
|
103
|
+
@_property
|
|
104
|
+
def text_line1(self) -> str: ...
|
|
105
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_TextLine1(System.String)
|
|
106
|
+
@text_line1.setter
|
|
107
|
+
def text_line1(self, value: str) -> None: ...
|
|
108
|
+
# Windows.Storage.IStorageFile Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_Image()
|
|
109
|
+
@_property
|
|
110
|
+
def image(self) -> windows_storage.IStorageFile: ...
|
|
111
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_Image(Windows.Storage.IStorageFile)
|
|
112
|
+
@image.setter
|
|
113
|
+
def image(self, value: windows_storage.IStorageFile) -> None: ...
|
|
114
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTileType Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_ContentTileType()
|
|
115
|
+
@_property
|
|
116
|
+
def content_tile_type(self) -> VoiceCommandContentTileType: ...
|
|
117
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_ContentTileType(Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTileType)
|
|
118
|
+
@content_tile_type.setter
|
|
119
|
+
def content_tile_type(self, value: VoiceCommandContentTileType) -> None: ...
|
|
120
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_AppLaunchArgument()
|
|
121
|
+
@_property
|
|
122
|
+
def app_launch_argument(self) -> str: ...
|
|
123
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_AppLaunchArgument(System.String)
|
|
124
|
+
@app_launch_argument.setter
|
|
125
|
+
def app_launch_argument(self, value: str) -> None: ...
|
|
126
|
+
# System.Object Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::get_AppContext()
|
|
127
|
+
@_property
|
|
128
|
+
def app_context(self) -> winrt.system.Object: ...
|
|
129
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile::put_AppContext(System.Object)
|
|
130
|
+
@app_context.setter
|
|
131
|
+
def app_context(self, value: winrt.system.Object) -> None: ...
|
|
132
|
+
|
|
133
|
+
@typing.final
|
|
134
|
+
class VoiceCommandDefinition(winrt.system.Object):
|
|
135
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
136
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
137
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition::SetPhraseListAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
|
|
138
|
+
def set_phrase_list_async(self, phrase_list_name: str, phrase_list: _cabc.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
|
|
139
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition::get_Language()
|
|
140
|
+
@_property
|
|
141
|
+
def language(self) -> str: ...
|
|
142
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition::get_Name()
|
|
143
|
+
@_property
|
|
144
|
+
def name(self) -> str: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class VoiceCommandDefinitionManager_Static(winrt.system.Object_Static):
|
|
148
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager::InstallCommandDefinitionsFromStorageFileAsync(Windows.Storage.StorageFile)
|
|
149
|
+
def install_command_definitions_from_storage_file_async(cls, file: windows_storage.StorageFile, /) -> windows_foundation.IAsyncAction: ...
|
|
150
|
+
# Windows.Foundation.Collections.IMapView`2<System.String,Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition> Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager::get_InstalledCommandDefinitions()
|
|
151
|
+
@_property
|
|
152
|
+
def installed_command_definitions(cls) -> _cabc.Mapping[str, VoiceCommandDefinition]: ...
|
|
153
|
+
|
|
154
|
+
@typing.final
|
|
155
|
+
class VoiceCommandDefinitionManager(winrt.system.Object, metaclass=VoiceCommandDefinitionManager_Static):
|
|
156
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
157
|
+
"""A class of static members only, so there is nothing to create."""
|
|
158
|
+
|
|
159
|
+
@typing.final
|
|
160
|
+
class VoiceCommandDisambiguationResult(winrt.system.Object):
|
|
161
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
162
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
163
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult::get_SelectedItem()
|
|
164
|
+
@_property
|
|
165
|
+
def selected_item(self) -> VoiceCommandContentTile: ...
|
|
166
|
+
|
|
167
|
+
@typing.final
|
|
168
|
+
class VoiceCommandResponse_Static(winrt.system.Object_Static):
|
|
169
|
+
@typing.overload
|
|
170
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::CreateResponse(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage)
|
|
171
|
+
def create_response(cls, user_message: VoiceCommandUserMessage, /) -> VoiceCommandResponse: ...
|
|
172
|
+
@typing.overload
|
|
173
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::CreateResponse(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile>)
|
|
174
|
+
def create_response(cls, message: VoiceCommandUserMessage, content_tiles: _cabc.Iterable[VoiceCommandContentTile], /) -> VoiceCommandResponse: ...
|
|
175
|
+
# Deprecated alias of create_response() for pywinrt v3.x compatibility.
|
|
176
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::CreateResponse(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile>)
|
|
177
|
+
@deprecated("Use create_response() instead.")
|
|
178
|
+
def create_response_with_tiles(cls, message: VoiceCommandUserMessage, content_tiles: _cabc.Iterable[VoiceCommandContentTile], /) -> VoiceCommandResponse: ...
|
|
179
|
+
@typing.overload
|
|
180
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::CreateResponseForPrompt(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage)
|
|
181
|
+
def create_response_for_prompt(cls, message: VoiceCommandUserMessage, repeat_message: VoiceCommandUserMessage, /) -> VoiceCommandResponse: ...
|
|
182
|
+
@typing.overload
|
|
183
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::CreateResponseForPrompt(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile>)
|
|
184
|
+
def create_response_for_prompt(cls, message: VoiceCommandUserMessage, repeat_message: VoiceCommandUserMessage, content_tiles: _cabc.Iterable[VoiceCommandContentTile], /) -> VoiceCommandResponse: ...
|
|
185
|
+
# Deprecated alias of create_response_for_prompt() for pywinrt v3.x compatibility.
|
|
186
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::CreateResponseForPrompt(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage,Windows.Foundation.Collections.IIterable`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile>)
|
|
187
|
+
@deprecated("Use create_response_for_prompt() instead.")
|
|
188
|
+
def create_response_for_prompt_with_tiles(cls, message: VoiceCommandUserMessage, repeat_message: VoiceCommandUserMessage, content_tiles: _cabc.Iterable[VoiceCommandContentTile], /) -> VoiceCommandResponse: ...
|
|
189
|
+
# System.UInt32 Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::get_MaxSupportedVoiceCommandContentTiles()
|
|
190
|
+
@_property
|
|
191
|
+
def max_supported_voice_command_content_tiles(cls) -> winrt.system.UInt32: ...
|
|
192
|
+
|
|
193
|
+
@typing.final
|
|
194
|
+
class VoiceCommandResponse(winrt.system.Object, metaclass=VoiceCommandResponse_Static):
|
|
195
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
196
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
197
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::get_RepeatMessage()
|
|
198
|
+
@_property
|
|
199
|
+
def repeat_message(self) -> VoiceCommandUserMessage: ...
|
|
200
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::put_RepeatMessage(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage)
|
|
201
|
+
@repeat_message.setter
|
|
202
|
+
def repeat_message(self, value: VoiceCommandUserMessage) -> None: ...
|
|
203
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::get_Message()
|
|
204
|
+
@_property
|
|
205
|
+
def message(self) -> VoiceCommandUserMessage: ...
|
|
206
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::put_Message(Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage)
|
|
207
|
+
@message.setter
|
|
208
|
+
def message(self, value: VoiceCommandUserMessage) -> None: ...
|
|
209
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::get_AppLaunchArgument()
|
|
210
|
+
@_property
|
|
211
|
+
def app_launch_argument(self) -> str: ...
|
|
212
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::put_AppLaunchArgument(System.String)
|
|
213
|
+
@app_launch_argument.setter
|
|
214
|
+
def app_launch_argument(self, value: str) -> None: ...
|
|
215
|
+
# Windows.Foundation.Collections.IVector`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandContentTile> Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse::get_VoiceCommandContentTiles()
|
|
216
|
+
@_property
|
|
217
|
+
def voice_command_content_tiles(self) -> _cabc.MutableSequence[VoiceCommandContentTile]: ...
|
|
218
|
+
|
|
219
|
+
@typing.final
|
|
220
|
+
class VoiceCommandServiceConnection_Static(winrt.system.Object_Static):
|
|
221
|
+
# Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::FromAppServiceTriggerDetails(Windows.ApplicationModel.AppService.AppServiceTriggerDetails)
|
|
222
|
+
def from_app_service_trigger_details(cls, trigger_details: windows_applicationmodel_appservice.AppServiceTriggerDetails, /) -> VoiceCommandServiceConnection: ...
|
|
223
|
+
|
|
224
|
+
@typing.final
|
|
225
|
+
class VoiceCommandServiceConnection(winrt.system.Object, metaclass=VoiceCommandServiceConnection_Static):
|
|
226
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
227
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
228
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.VoiceCommands.VoiceCommand> Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::GetVoiceCommandAsync()
|
|
229
|
+
def get_voice_command_async(self) -> windows_foundation.IAsyncOperation[VoiceCommand]: ...
|
|
230
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::ReportFailureAsync(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse)
|
|
231
|
+
def report_failure_async(self, response: VoiceCommandResponse, /) -> windows_foundation.IAsyncAction: ...
|
|
232
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::ReportProgressAsync(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse)
|
|
233
|
+
def report_progress_async(self, response: VoiceCommandResponse, /) -> windows_foundation.IAsyncAction: ...
|
|
234
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::ReportSuccessAsync(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse)
|
|
235
|
+
def report_success_async(self, response: VoiceCommandResponse, /) -> windows_foundation.IAsyncAction: ...
|
|
236
|
+
# Windows.Foundation.IAsyncAction Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::RequestAppLaunchAsync(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse)
|
|
237
|
+
def request_app_launch_async(self, response: VoiceCommandResponse, /) -> windows_foundation.IAsyncAction: ...
|
|
238
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandConfirmationResult> Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::RequestConfirmationAsync(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse)
|
|
239
|
+
def request_confirmation_async(self, response: VoiceCommandResponse, /) -> windows_foundation.IAsyncOperation[VoiceCommandConfirmationResult]: ...
|
|
240
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.VoiceCommands.VoiceCommandDisambiguationResult> Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::RequestDisambiguationAsync(Windows.ApplicationModel.VoiceCommands.VoiceCommandResponse)
|
|
241
|
+
def request_disambiguation_async(self, response: VoiceCommandResponse, /) -> windows_foundation.IAsyncOperation[VoiceCommandDisambiguationResult]: ...
|
|
242
|
+
# Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::add_VoiceCommandCompleted(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection,Windows.ApplicationModel.VoiceCommands.VoiceCommandCompletedEventArgs>)
|
|
243
|
+
def add_voice_command_completed(self, handler: windows_foundation.TypedEventHandler[VoiceCommandServiceConnection, VoiceCommandCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
244
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::remove_VoiceCommandCompleted(Windows.Foundation.EventRegistrationToken)
|
|
245
|
+
def remove_voice_command_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
246
|
+
# Windows.Globalization.Language Windows.ApplicationModel.VoiceCommands.VoiceCommandServiceConnection::get_Language()
|
|
247
|
+
@_property
|
|
248
|
+
def language(self) -> windows_globalization.Language: ...
|
|
249
|
+
|
|
250
|
+
@typing.final
|
|
251
|
+
class VoiceCommandUserMessage(winrt.system.Object):
|
|
252
|
+
def __new__(cls) -> typing.Self: ...
|
|
253
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage::get_SpokenMessage()
|
|
254
|
+
@_property
|
|
255
|
+
def spoken_message(self) -> str: ...
|
|
256
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage::put_SpokenMessage(System.String)
|
|
257
|
+
@spoken_message.setter
|
|
258
|
+
def spoken_message(self, value: str) -> None: ...
|
|
259
|
+
# System.String Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage::get_DisplayMessage()
|
|
260
|
+
@_property
|
|
261
|
+
def display_message(self) -> str: ...
|
|
262
|
+
# System.Void Windows.ApplicationModel.VoiceCommands.VoiceCommandUserMessage::put_DisplayMessage(System.String)
|
|
263
|
+
@display_message.setter
|
|
264
|
+
def display_message(self, value: str) -> None: ...
|
|
265
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.VoiceCommands
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.ApplicationModel.VoiceCommands namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Provides-Extra: all
|
|
26
|
+
Requires-Dist: winrt-windows-applicationmodel-appservice[all]>=4!10.0.28000.2705; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-globalization[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-media-speechrecognition[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
35
|
+
|
|
36
|
+
# winrt-Windows.ApplicationModel.VoiceCommands
|
|
37
|
+
|
|
38
|
+
Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.VoiceCommands` namespace.
|
|
39
|
+
|
|
40
|
+
This package provides the `winrt.windows.applicationmodel.voicecommands` module.
|
|
41
|
+
|
|
42
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
43
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
pip install winrt-Windows.ApplicationModel.VoiceCommands
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
50
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/applicationmodel/voicecommands/__init__.py,sha256=n3OGSlkrDQJDSdhJQOkHlI1L1SefeCMR5FJ36-84nhc,849
|
|
2
|
+
winrt/windows/applicationmodel/voicecommands/__init__.pyi,sha256=ZFVZCqBtdzp7HqePHvtz9VKyCU2lSH21BpUk_x6jm0o,19175
|
|
3
|
+
winrt/windows/applicationmodel/voicecommands/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/applicationmodel/voicecommands/_table.pywinrt,sha256=Gvmeuxcha0RN-Qr_sPGEo-9JwVqg7Q9D_VpQ-kump1Q,28920
|
|
5
|
+
winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/METADATA,sha256=76YoH8Y5LXceJOs-2S2VXLgUBhaghWAkIR9V7v5YSx4,2387
|
|
6
|
+
winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_applicationmodel_voicecommands-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|