winrt-Windows.ApplicationModel.VoiceCommands 2.2.0__cp313-cp313-win_arm64.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_voicecommands.cp313-win_arm64.pyd +0 -0
- winrt/_winrt_windows_applicationmodel_voicecommands.pyi +178 -0
- winrt/windows/applicationmodel/voicecommands/__init__.py +51 -0
- winrt/windows/applicationmodel/voicecommands/py.typed +0 -0
- winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/METADATA +30 -0
- winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,178 @@
|
|
|
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.appservice as windows_applicationmodel_appservice
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
import winrt.windows.globalization as windows_globalization
|
|
16
|
+
import winrt.windows.media.speechrecognition as windows_media_speechrecognition
|
|
17
|
+
import winrt.windows.storage as windows_storage
|
|
18
|
+
|
|
19
|
+
from winrt.windows.applicationmodel.voicecommands import VoiceCommandCompletionReason, VoiceCommandContentTileType
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class VoiceCommand(winrt.system.Object):
|
|
25
|
+
@staticmethod
|
|
26
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommand: ...
|
|
27
|
+
@_property
|
|
28
|
+
def command_name(self) -> str: ...
|
|
29
|
+
@_property
|
|
30
|
+
def properties(self) -> typing.Optional[windows_foundation_collections.IMapView[str, windows_foundation_collections.IVectorView[str]]]: ...
|
|
31
|
+
@_property
|
|
32
|
+
def speech_recognition_result(self) -> typing.Optional[windows_media_speechrecognition.SpeechRecognitionResult]: ...
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class VoiceCommandCompletedEventArgs(winrt.system.Object):
|
|
36
|
+
@staticmethod
|
|
37
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandCompletedEventArgs: ...
|
|
38
|
+
@_property
|
|
39
|
+
def reason(self) -> VoiceCommandCompletionReason: ...
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class VoiceCommandConfirmationResult(winrt.system.Object):
|
|
43
|
+
@staticmethod
|
|
44
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandConfirmationResult: ...
|
|
45
|
+
@_property
|
|
46
|
+
def confirmed(self) -> bool: ...
|
|
47
|
+
|
|
48
|
+
@typing.final
|
|
49
|
+
class VoiceCommandContentTile(winrt.system.Object):
|
|
50
|
+
@staticmethod
|
|
51
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandContentTile: ...
|
|
52
|
+
def __new__(cls: typing.Type[VoiceCommandContentTile]) -> VoiceCommandContentTile: ...
|
|
53
|
+
@_property
|
|
54
|
+
def title(self) -> str: ...
|
|
55
|
+
@title.setter
|
|
56
|
+
def title(self, value: str) -> None: ...
|
|
57
|
+
@_property
|
|
58
|
+
def text_line3(self) -> str: ...
|
|
59
|
+
@text_line3.setter
|
|
60
|
+
def text_line3(self, value: str) -> None: ...
|
|
61
|
+
@_property
|
|
62
|
+
def text_line2(self) -> str: ...
|
|
63
|
+
@text_line2.setter
|
|
64
|
+
def text_line2(self, value: str) -> None: ...
|
|
65
|
+
@_property
|
|
66
|
+
def text_line1(self) -> str: ...
|
|
67
|
+
@text_line1.setter
|
|
68
|
+
def text_line1(self, value: str) -> None: ...
|
|
69
|
+
@_property
|
|
70
|
+
def image(self) -> typing.Optional[windows_storage.IStorageFile]: ...
|
|
71
|
+
@image.setter
|
|
72
|
+
def image(self, value: typing.Optional[windows_storage.IStorageFile]) -> None: ...
|
|
73
|
+
@_property
|
|
74
|
+
def content_tile_type(self) -> VoiceCommandContentTileType: ...
|
|
75
|
+
@content_tile_type.setter
|
|
76
|
+
def content_tile_type(self, value: VoiceCommandContentTileType) -> None: ...
|
|
77
|
+
@_property
|
|
78
|
+
def app_launch_argument(self) -> str: ...
|
|
79
|
+
@app_launch_argument.setter
|
|
80
|
+
def app_launch_argument(self, value: str) -> None: ...
|
|
81
|
+
@_property
|
|
82
|
+
def app_context(self) -> typing.Optional[winrt.system.Object]: ...
|
|
83
|
+
@app_context.setter
|
|
84
|
+
def app_context(self, value: typing.Optional[winrt.system.Object]) -> None: ...
|
|
85
|
+
|
|
86
|
+
@typing.final
|
|
87
|
+
class VoiceCommandDefinition(winrt.system.Object):
|
|
88
|
+
@staticmethod
|
|
89
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandDefinition: ...
|
|
90
|
+
def set_phrase_list_async(self, phrase_list_name: str, phrase_list: typing.Iterable[str], /) -> windows_foundation.IAsyncAction: ...
|
|
91
|
+
@_property
|
|
92
|
+
def language(self) -> str: ...
|
|
93
|
+
@_property
|
|
94
|
+
def name(self) -> str: ...
|
|
95
|
+
|
|
96
|
+
@typing.final
|
|
97
|
+
class VoiceCommandDefinitionManager_Static(type):
|
|
98
|
+
def install_command_definitions_from_storage_file_async(cls, file: typing.Optional[windows_storage.StorageFile], /) -> windows_foundation.IAsyncAction: ...
|
|
99
|
+
@_property
|
|
100
|
+
def installed_command_definitions(cls) -> typing.Optional[windows_foundation_collections.IMapView[str, VoiceCommandDefinition]]: ...
|
|
101
|
+
|
|
102
|
+
@typing.final
|
|
103
|
+
class VoiceCommandDefinitionManager(winrt.system.Object, metaclass=VoiceCommandDefinitionManager_Static):
|
|
104
|
+
pass
|
|
105
|
+
|
|
106
|
+
@typing.final
|
|
107
|
+
class VoiceCommandDisambiguationResult(winrt.system.Object):
|
|
108
|
+
@staticmethod
|
|
109
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandDisambiguationResult: ...
|
|
110
|
+
@_property
|
|
111
|
+
def selected_item(self) -> typing.Optional[VoiceCommandContentTile]: ...
|
|
112
|
+
|
|
113
|
+
@typing.final
|
|
114
|
+
class VoiceCommandResponse_Static(type):
|
|
115
|
+
@typing.overload
|
|
116
|
+
def create_response(cls, user_message: typing.Optional[VoiceCommandUserMessage], /) -> typing.Optional[VoiceCommandResponse]: ...
|
|
117
|
+
@typing.overload
|
|
118
|
+
def create_response(cls, message: typing.Optional[VoiceCommandUserMessage], content_tiles: typing.Iterable[VoiceCommandContentTile], /) -> typing.Optional[VoiceCommandResponse]: ...
|
|
119
|
+
@typing.overload
|
|
120
|
+
def create_response_for_prompt(cls, message: typing.Optional[VoiceCommandUserMessage], repeat_message: typing.Optional[VoiceCommandUserMessage], /) -> typing.Optional[VoiceCommandResponse]: ...
|
|
121
|
+
@typing.overload
|
|
122
|
+
def create_response_for_prompt(cls, message: typing.Optional[VoiceCommandUserMessage], repeat_message: typing.Optional[VoiceCommandUserMessage], content_tiles: typing.Iterable[VoiceCommandContentTile], /) -> typing.Optional[VoiceCommandResponse]: ...
|
|
123
|
+
@_property
|
|
124
|
+
def max_supported_voice_command_content_tiles(cls) -> winrt.system.UInt32: ...
|
|
125
|
+
|
|
126
|
+
@typing.final
|
|
127
|
+
class VoiceCommandResponse(winrt.system.Object, metaclass=VoiceCommandResponse_Static):
|
|
128
|
+
@staticmethod
|
|
129
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandResponse: ...
|
|
130
|
+
@_property
|
|
131
|
+
def repeat_message(self) -> typing.Optional[VoiceCommandUserMessage]: ...
|
|
132
|
+
@repeat_message.setter
|
|
133
|
+
def repeat_message(self, value: typing.Optional[VoiceCommandUserMessage]) -> None: ...
|
|
134
|
+
@_property
|
|
135
|
+
def message(self) -> typing.Optional[VoiceCommandUserMessage]: ...
|
|
136
|
+
@message.setter
|
|
137
|
+
def message(self, value: typing.Optional[VoiceCommandUserMessage]) -> None: ...
|
|
138
|
+
@_property
|
|
139
|
+
def app_launch_argument(self) -> str: ...
|
|
140
|
+
@app_launch_argument.setter
|
|
141
|
+
def app_launch_argument(self, value: str) -> None: ...
|
|
142
|
+
@_property
|
|
143
|
+
def voice_command_content_tiles(self) -> typing.Optional[windows_foundation_collections.IVector[VoiceCommandContentTile]]: ...
|
|
144
|
+
|
|
145
|
+
@typing.final
|
|
146
|
+
class VoiceCommandServiceConnection_Static(type):
|
|
147
|
+
def from_app_service_trigger_details(cls, trigger_details: typing.Optional[windows_applicationmodel_appservice.AppServiceTriggerDetails], /) -> typing.Optional[VoiceCommandServiceConnection]: ...
|
|
148
|
+
|
|
149
|
+
@typing.final
|
|
150
|
+
class VoiceCommandServiceConnection(winrt.system.Object, metaclass=VoiceCommandServiceConnection_Static):
|
|
151
|
+
@staticmethod
|
|
152
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandServiceConnection: ...
|
|
153
|
+
def get_voice_command_async(self) -> windows_foundation.IAsyncOperation[VoiceCommand]: ...
|
|
154
|
+
def report_failure_async(self, response: typing.Optional[VoiceCommandResponse], /) -> windows_foundation.IAsyncAction: ...
|
|
155
|
+
def report_progress_async(self, response: typing.Optional[VoiceCommandResponse], /) -> windows_foundation.IAsyncAction: ...
|
|
156
|
+
def report_success_async(self, response: typing.Optional[VoiceCommandResponse], /) -> windows_foundation.IAsyncAction: ...
|
|
157
|
+
def request_app_launch_async(self, response: typing.Optional[VoiceCommandResponse], /) -> windows_foundation.IAsyncAction: ...
|
|
158
|
+
def request_confirmation_async(self, response: typing.Optional[VoiceCommandResponse], /) -> windows_foundation.IAsyncOperation[VoiceCommandConfirmationResult]: ...
|
|
159
|
+
def request_disambiguation_async(self, response: typing.Optional[VoiceCommandResponse], /) -> windows_foundation.IAsyncOperation[VoiceCommandDisambiguationResult]: ...
|
|
160
|
+
def add_voice_command_completed(self, handler: windows_foundation.TypedEventHandler[VoiceCommandServiceConnection, VoiceCommandCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
161
|
+
def remove_voice_command_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
162
|
+
@_property
|
|
163
|
+
def language(self) -> typing.Optional[windows_globalization.Language]: ...
|
|
164
|
+
|
|
165
|
+
@typing.final
|
|
166
|
+
class VoiceCommandUserMessage(winrt.system.Object):
|
|
167
|
+
@staticmethod
|
|
168
|
+
def _from(obj: winrt.system.Object, /) -> VoiceCommandUserMessage: ...
|
|
169
|
+
def __new__(cls: typing.Type[VoiceCommandUserMessage]) -> VoiceCommandUserMessage: ...
|
|
170
|
+
@_property
|
|
171
|
+
def spoken_message(self) -> str: ...
|
|
172
|
+
@spoken_message.setter
|
|
173
|
+
def spoken_message(self, value: str) -> None: ...
|
|
174
|
+
@_property
|
|
175
|
+
def display_message(self) -> str: ...
|
|
176
|
+
@display_message.setter
|
|
177
|
+
def display_message(self, value: str) -> None: ...
|
|
178
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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_voicecommands
|
|
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
|
+
class VoiceCommandCompletionReason(enum.IntEnum):
|
|
24
|
+
UNKNOWN = 0
|
|
25
|
+
COMMUNICATION_FAILED = 1
|
|
26
|
+
RESOURCE_LIMITS_EXCEEDED = 2
|
|
27
|
+
CANCELED = 3
|
|
28
|
+
TIMEOUT_EXCEEDED = 4
|
|
29
|
+
APP_LAUNCHED = 5
|
|
30
|
+
COMPLETED = 6
|
|
31
|
+
|
|
32
|
+
class VoiceCommandContentTileType(enum.IntEnum):
|
|
33
|
+
TITLE_ONLY = 0
|
|
34
|
+
TITLE_WITH_TEXT = 1
|
|
35
|
+
TITLE_WITH68X68_ICON = 2
|
|
36
|
+
TITLE_WITH68X68_ICON_AND_TEXT = 3
|
|
37
|
+
TITLE_WITH68X92_ICON = 4
|
|
38
|
+
TITLE_WITH68X92_ICON_AND_TEXT = 5
|
|
39
|
+
TITLE_WITH280X140_ICON = 6
|
|
40
|
+
TITLE_WITH280X140_ICON_AND_TEXT = 7
|
|
41
|
+
|
|
42
|
+
VoiceCommand = _winrt_windows_applicationmodel_voicecommands.VoiceCommand
|
|
43
|
+
VoiceCommandCompletedEventArgs = _winrt_windows_applicationmodel_voicecommands.VoiceCommandCompletedEventArgs
|
|
44
|
+
VoiceCommandConfirmationResult = _winrt_windows_applicationmodel_voicecommands.VoiceCommandConfirmationResult
|
|
45
|
+
VoiceCommandContentTile = _winrt_windows_applicationmodel_voicecommands.VoiceCommandContentTile
|
|
46
|
+
VoiceCommandDefinition = _winrt_windows_applicationmodel_voicecommands.VoiceCommandDefinition
|
|
47
|
+
VoiceCommandDefinitionManager = _winrt_windows_applicationmodel_voicecommands.VoiceCommandDefinitionManager
|
|
48
|
+
VoiceCommandDisambiguationResult = _winrt_windows_applicationmodel_voicecommands.VoiceCommandDisambiguationResult
|
|
49
|
+
VoiceCommandResponse = _winrt_windows_applicationmodel_voicecommands.VoiceCommandResponse
|
|
50
|
+
VoiceCommandServiceConnection = _winrt_windows_applicationmodel_voicecommands.VoiceCommandServiceConnection
|
|
51
|
+
VoiceCommandUserMessage = _winrt_windows_applicationmodel_voicecommands.VoiceCommandUserMessage
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.ApplicationModel.VoiceCommands
|
|
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.AppService[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Globalization[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Media.SpeechRecognition[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.Storage[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
|
|
24
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
25
|
+
|
|
26
|
+
# winrt-Windows.ApplicationModel.VoiceCommands
|
|
27
|
+
|
|
28
|
+
Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.VoiceCommands` namespace.
|
|
29
|
+
|
|
30
|
+
This package provides the `winrt.windows.applicationmodel.voicecommands` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_applicationmodel_voicecommands.cp313-win_arm64.pyd,sha256=EGZB3W4D6od_bzgNFyjhEnwmOdbd7Ddko3XZnjXlXkQ,277504
|
|
2
|
+
winrt/_winrt_windows_applicationmodel_voicecommands.pyi,sha256=uu7mMpXIDuHE421ojVJ5IkcxJ0Udz-CbW52ihu88RWQ,8668
|
|
3
|
+
winrt/windows/applicationmodel/voicecommands/__init__.py,sha256=8-LBirLNVK6ED-5xgW-rGsEBfH437tWd2AbP5Cs7j2Q,2103
|
|
4
|
+
winrt/windows/applicationmodel/voicecommands/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/METADATA,sha256=IzciUB70GXuhHxUOKwSIFyA3qjUayxqwOJ6kT95UK1Y,1500
|
|
6
|
+
winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
|
|
7
|
+
winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.ApplicationModel.VoiceCommands-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|