win32more-Microsoft.WindowsAppSDK 0.7.1.6.250430001__py2.py3-none-any.whl → 0.7.1.7.251107005__py2.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.
- win32more/Microsoft/Foundation/__init__.py +1 -1
- win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +591 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Effects/__init__.py +10 -10
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +93 -93
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +78 -78
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +42 -42
- win32more/Microsoft/UI/Composition/__init__.py +125 -125
- win32more/Microsoft/UI/Content/__init__.py +676 -35
- win32more/Microsoft/UI/Dispatching/__init__.py +4 -4
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +9 -9
- win32more/Microsoft/UI/Input/__init__.py +53 -45
- win32more/Microsoft/UI/Text/__init__.py +21 -0
- win32more/Microsoft/UI/Windowing/__init__.py +104 -21
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +274 -0
- win32more/Microsoft/UI/Xaml/__init__.py +64 -2
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +366 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
- win32more/Microsoft/Windows/AI/__init__.py +49 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +1 -1
- win32more/Microsoft/Windows/AppNotifications/__init__.py +1 -1
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +29 -0
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +142 -0
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +53 -0
- win32more/Microsoft/Windows/Media/Capture/__init__.py +196 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +24 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +1 -1
- win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +2 -2
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/METADATA +2 -2
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/RECORD +43 -29
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/WHEEL +0 -0
|
@@ -4136,6 +4136,29 @@ class IWindowVisibilityChangedEventArgs(ComPtr):
|
|
|
4136
4136
|
def get_Visible(self) -> Boolean: ...
|
|
4137
4137
|
Handled = property(get_Handled, put_Handled)
|
|
4138
4138
|
Visible = property(get_Visible, None)
|
|
4139
|
+
class IXamlIsland(ComPtr):
|
|
4140
|
+
extends: IInspectable
|
|
4141
|
+
_classid_ = 'Microsoft.UI.Xaml.IXamlIsland'
|
|
4142
|
+
_iid_ = Guid('{845a5c62-b0f3-5db8-b4ff-4142bbd8a044}')
|
|
4143
|
+
@winrt_commethod(6)
|
|
4144
|
+
def get_Content(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
|
|
4145
|
+
@winrt_commethod(7)
|
|
4146
|
+
def put_Content(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
|
|
4147
|
+
@winrt_commethod(8)
|
|
4148
|
+
def get_ContentIsland(self) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
4149
|
+
@winrt_commethod(9)
|
|
4150
|
+
def get_SystemBackdrop(self) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
|
|
4151
|
+
@winrt_commethod(10)
|
|
4152
|
+
def put_SystemBackdrop(self, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
|
|
4153
|
+
Content = property(get_Content, put_Content)
|
|
4154
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
4155
|
+
SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
|
|
4156
|
+
class IXamlIslandFactory(ComPtr):
|
|
4157
|
+
extends: IInspectable
|
|
4158
|
+
_classid_ = 'Microsoft.UI.Xaml.IXamlIslandFactory'
|
|
4159
|
+
_iid_ = Guid('{267f707c-5e18-57b4-9ff7-d11da66e4a11}')
|
|
4160
|
+
@winrt_commethod(6)
|
|
4161
|
+
def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.XamlIsland: ...
|
|
4139
4162
|
class IXamlResourceReferenceFailedEventArgs(ComPtr):
|
|
4140
4163
|
extends: IInspectable
|
|
4141
4164
|
_classid_ = 'Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs'
|
|
@@ -4178,6 +4201,13 @@ class IXamlRoot3(ComPtr):
|
|
|
4178
4201
|
@winrt_commethod(6)
|
|
4179
4202
|
def get_CoordinateConverter(self) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
|
|
4180
4203
|
CoordinateConverter = property(get_CoordinateConverter, None)
|
|
4204
|
+
class IXamlRoot4(ComPtr):
|
|
4205
|
+
extends: IInspectable
|
|
4206
|
+
_classid_ = 'Microsoft.UI.Xaml.IXamlRoot4'
|
|
4207
|
+
_iid_ = Guid('{377bec22-632b-52be-b26f-5edf7838e5ca}')
|
|
4208
|
+
@winrt_commethod(6)
|
|
4209
|
+
def get_ContentIsland(self) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
4210
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
4181
4211
|
class IXamlRootChangedEventArgs(ComPtr):
|
|
4182
4212
|
extends: IInspectable
|
|
4183
4213
|
_classid_ = 'Microsoft.UI.Xaml.IXamlRootChangedEventArgs'
|
|
@@ -5845,7 +5875,7 @@ class VisualTransition(ComPtr):
|
|
|
5845
5875
|
GeneratedEasingFunction = property(get_GeneratedEasingFunction, put_GeneratedEasingFunction)
|
|
5846
5876
|
Storyboard = property(get_Storyboard, put_Storyboard)
|
|
5847
5877
|
To = property(get_To, put_To)
|
|
5848
|
-
WinUIContract: UInt32 =
|
|
5878
|
+
WinUIContract: UInt32 = 524288
|
|
5849
5879
|
class _Window_Meta_(ComPtr.__class__):
|
|
5850
5880
|
pass
|
|
5851
5881
|
class Window(ComPtr, metaclass=_Window_Meta_):
|
|
@@ -5980,7 +6010,36 @@ class WindowVisibilityChangedEventArgs(ComPtr):
|
|
|
5980
6010
|
def get_Visible(self: win32more.Microsoft.UI.Xaml.IWindowVisibilityChangedEventArgs) -> Boolean: ...
|
|
5981
6011
|
Handled = property(get_Handled, put_Handled)
|
|
5982
6012
|
Visible = property(get_Visible, None)
|
|
5983
|
-
XamlContract: UInt32 =
|
|
6013
|
+
XamlContract: UInt32 = 524288
|
|
6014
|
+
class XamlIsland(ComPtr):
|
|
6015
|
+
extends: IInspectable
|
|
6016
|
+
implements: Tuple[ContextManagerProtocol]
|
|
6017
|
+
default_interface: win32more.Microsoft.UI.Xaml.IXamlIsland
|
|
6018
|
+
_classid_ = 'Microsoft.UI.Xaml.XamlIsland'
|
|
6019
|
+
def __init__(self, *args, **kwargs):
|
|
6020
|
+
if kwargs:
|
|
6021
|
+
super().__init__(**kwargs)
|
|
6022
|
+
elif len(args) == 0:
|
|
6023
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.XamlIsland.CreateInstance(*args, None, None))
|
|
6024
|
+
else:
|
|
6025
|
+
raise ValueError('no matched constructor')
|
|
6026
|
+
@winrt_factorymethod
|
|
6027
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.IXamlIslandFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.XamlIsland: ...
|
|
6028
|
+
@winrt_mixinmethod
|
|
6029
|
+
def get_Content(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Xaml.UIElement: ...
|
|
6030
|
+
@winrt_mixinmethod
|
|
6031
|
+
def put_Content(self: win32more.Microsoft.UI.Xaml.IXamlIsland, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
|
|
6032
|
+
@winrt_mixinmethod
|
|
6033
|
+
def get_ContentIsland(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
6034
|
+
@winrt_mixinmethod
|
|
6035
|
+
def get_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
|
|
6036
|
+
@winrt_mixinmethod
|
|
6037
|
+
def put_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.IXamlIsland, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
|
|
6038
|
+
@winrt_mixinmethod
|
|
6039
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
6040
|
+
Content = property(get_Content, put_Content)
|
|
6041
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
6042
|
+
SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
|
|
5984
6043
|
class XamlResourceReferenceFailedEventArgs(ComPtr):
|
|
5985
6044
|
extends: IInspectable
|
|
5986
6045
|
default_interface: win32more.Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs
|
|
@@ -6008,7 +6067,10 @@ class XamlRoot(ComPtr):
|
|
|
6008
6067
|
def get_ContentIslandEnvironment(self: win32more.Microsoft.UI.Xaml.IXamlRoot2) -> win32more.Microsoft.UI.Content.ContentIslandEnvironment: ...
|
|
6009
6068
|
@winrt_mixinmethod
|
|
6010
6069
|
def get_CoordinateConverter(self: win32more.Microsoft.UI.Xaml.IXamlRoot3) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
|
|
6070
|
+
@winrt_mixinmethod
|
|
6071
|
+
def get_ContentIsland(self: win32more.Microsoft.UI.Xaml.IXamlRoot4) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
6011
6072
|
Content = property(get_Content, None)
|
|
6073
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
6012
6074
|
ContentIslandEnvironment = property(get_ContentIslandEnvironment, None)
|
|
6013
6075
|
CoordinateConverter = property(get_CoordinateConverter, None)
|
|
6014
6076
|
IsHostVisible = property(get_IsHostVisible, None)
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.AI.ContentSafety
|
|
4
|
+
class ContentFilterOptions(ComPtr):
|
|
5
|
+
extends: IInspectable
|
|
6
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions
|
|
7
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ContentFilterOptions'
|
|
8
|
+
def __init__(self, *args, **kwargs):
|
|
9
|
+
if kwargs:
|
|
10
|
+
super().__init__(**kwargs)
|
|
11
|
+
elif len(args) == 0:
|
|
12
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions.CreateInstance(*args))
|
|
13
|
+
else:
|
|
14
|
+
raise ValueError('no matched constructor')
|
|
15
|
+
@winrt_activatemethod
|
|
16
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
|
|
17
|
+
@winrt_mixinmethod
|
|
18
|
+
def get_PromptMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
19
|
+
@winrt_mixinmethod
|
|
20
|
+
def put_PromptMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
21
|
+
@winrt_mixinmethod
|
|
22
|
+
def get_ResponseMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
23
|
+
@winrt_mixinmethod
|
|
24
|
+
def put_ResponseMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
25
|
+
@winrt_mixinmethod
|
|
26
|
+
def get_ImageMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
27
|
+
@winrt_mixinmethod
|
|
28
|
+
def put_ImageMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity) -> Void: ...
|
|
29
|
+
ImageMaxAllowedSeverityLevel = property(get_ImageMaxAllowedSeverityLevel, put_ImageMaxAllowedSeverityLevel)
|
|
30
|
+
PromptMaxAllowedSeverityLevel = property(get_PromptMaxAllowedSeverityLevel, put_PromptMaxAllowedSeverityLevel)
|
|
31
|
+
ResponseMaxAllowedSeverityLevel = property(get_ResponseMaxAllowedSeverityLevel, put_ResponseMaxAllowedSeverityLevel)
|
|
32
|
+
ContentSafetyContract: UInt32 = 65536
|
|
33
|
+
class IContentFilterOptions(ComPtr):
|
|
34
|
+
extends: IInspectable
|
|
35
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IContentFilterOptions'
|
|
36
|
+
_iid_ = Guid('{6808be9f-80d2-5136-8a8a-1f5c52c824ad}')
|
|
37
|
+
@winrt_commethod(6)
|
|
38
|
+
def get_PromptMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
39
|
+
@winrt_commethod(7)
|
|
40
|
+
def put_PromptMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
41
|
+
@winrt_commethod(8)
|
|
42
|
+
def get_ResponseMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
43
|
+
@winrt_commethod(9)
|
|
44
|
+
def put_ResponseMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
45
|
+
@winrt_commethod(10)
|
|
46
|
+
def get_ImageMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
47
|
+
@winrt_commethod(11)
|
|
48
|
+
def put_ImageMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity) -> Void: ...
|
|
49
|
+
ImageMaxAllowedSeverityLevel = property(get_ImageMaxAllowedSeverityLevel, put_ImageMaxAllowedSeverityLevel)
|
|
50
|
+
PromptMaxAllowedSeverityLevel = property(get_PromptMaxAllowedSeverityLevel, put_PromptMaxAllowedSeverityLevel)
|
|
51
|
+
ResponseMaxAllowedSeverityLevel = property(get_ResponseMaxAllowedSeverityLevel, put_ResponseMaxAllowedSeverityLevel)
|
|
52
|
+
class IImageContentFilterSeverity(ComPtr):
|
|
53
|
+
extends: IInspectable
|
|
54
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity'
|
|
55
|
+
_iid_ = Guid('{f1563582-c66a-5861-9995-1440b05191ac}')
|
|
56
|
+
@winrt_commethod(6)
|
|
57
|
+
def get_AdultContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
58
|
+
@winrt_commethod(7)
|
|
59
|
+
def put_AdultContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
60
|
+
@winrt_commethod(8)
|
|
61
|
+
def get_RacyContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
62
|
+
@winrt_commethod(9)
|
|
63
|
+
def put_RacyContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
64
|
+
@winrt_commethod(10)
|
|
65
|
+
def get_GoryContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
66
|
+
@winrt_commethod(11)
|
|
67
|
+
def put_GoryContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
68
|
+
@winrt_commethod(12)
|
|
69
|
+
def get_ViolentContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
70
|
+
@winrt_commethod(13)
|
|
71
|
+
def put_ViolentContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
72
|
+
AdultContentLevel = property(get_AdultContentLevel, put_AdultContentLevel)
|
|
73
|
+
GoryContentLevel = property(get_GoryContentLevel, put_GoryContentLevel)
|
|
74
|
+
RacyContentLevel = property(get_RacyContentLevel, put_RacyContentLevel)
|
|
75
|
+
ViolentContentLevel = property(get_ViolentContentLevel, put_ViolentContentLevel)
|
|
76
|
+
class IImageContentFilterSeverityFactory(ComPtr):
|
|
77
|
+
extends: IInspectable
|
|
78
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverityFactory'
|
|
79
|
+
_iid_ = Guid('{ead11457-81b1-5b81-9ca3-c5b04b4df043}')
|
|
80
|
+
@winrt_commethod(6)
|
|
81
|
+
def CreateInstance(self, severityForALlCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
82
|
+
class ITextContentFilterSeverity(ComPtr):
|
|
83
|
+
extends: IInspectable
|
|
84
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity'
|
|
85
|
+
_iid_ = Guid('{68c1ee47-c35c-5f4c-a647-b0c0f64aa0d5}')
|
|
86
|
+
@winrt_commethod(6)
|
|
87
|
+
def get_Hate(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
88
|
+
@winrt_commethod(7)
|
|
89
|
+
def put_Hate(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
90
|
+
@winrt_commethod(8)
|
|
91
|
+
def get_Sexual(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
92
|
+
@winrt_commethod(9)
|
|
93
|
+
def put_Sexual(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
94
|
+
@winrt_commethod(10)
|
|
95
|
+
def get_Violent(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
96
|
+
@winrt_commethod(11)
|
|
97
|
+
def put_Violent(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
98
|
+
@winrt_commethod(12)
|
|
99
|
+
def get_SelfHarm(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
100
|
+
@winrt_commethod(13)
|
|
101
|
+
def put_SelfHarm(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
102
|
+
Hate = property(get_Hate, put_Hate)
|
|
103
|
+
SelfHarm = property(get_SelfHarm, put_SelfHarm)
|
|
104
|
+
Sexual = property(get_Sexual, put_Sexual)
|
|
105
|
+
Violent = property(get_Violent, put_Violent)
|
|
106
|
+
class ITextContentFilterSeverityFactory(ComPtr):
|
|
107
|
+
extends: IInspectable
|
|
108
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory'
|
|
109
|
+
_iid_ = Guid('{e0ca501e-4004-501e-8984-442d091607d4}')
|
|
110
|
+
@winrt_commethod(6)
|
|
111
|
+
def CreateInstance(self, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
112
|
+
class ImageContentFilterSeverity(ComPtr):
|
|
113
|
+
extends: IInspectable
|
|
114
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity
|
|
115
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity'
|
|
116
|
+
def __init__(self, *args, **kwargs):
|
|
117
|
+
if kwargs:
|
|
118
|
+
super().__init__(**kwargs)
|
|
119
|
+
elif len(args) == 0:
|
|
120
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity.CreateInstance(*args))
|
|
121
|
+
elif len(args) == 1:
|
|
122
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity.CreateInstance(*args))
|
|
123
|
+
else:
|
|
124
|
+
raise ValueError('no matched constructor')
|
|
125
|
+
@winrt_overload
|
|
126
|
+
@winrt_activatemethod
|
|
127
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
128
|
+
@CreateInstance.register
|
|
129
|
+
@winrt_factorymethod
|
|
130
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverityFactory, severityForALlCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
131
|
+
@winrt_mixinmethod
|
|
132
|
+
def get_AdultContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
133
|
+
@winrt_mixinmethod
|
|
134
|
+
def put_AdultContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
135
|
+
@winrt_mixinmethod
|
|
136
|
+
def get_RacyContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
137
|
+
@winrt_mixinmethod
|
|
138
|
+
def put_RacyContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
139
|
+
@winrt_mixinmethod
|
|
140
|
+
def get_GoryContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
141
|
+
@winrt_mixinmethod
|
|
142
|
+
def put_GoryContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
143
|
+
@winrt_mixinmethod
|
|
144
|
+
def get_ViolentContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
145
|
+
@winrt_mixinmethod
|
|
146
|
+
def put_ViolentContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
147
|
+
AdultContentLevel = property(get_AdultContentLevel, put_AdultContentLevel)
|
|
148
|
+
GoryContentLevel = property(get_GoryContentLevel, put_GoryContentLevel)
|
|
149
|
+
RacyContentLevel = property(get_RacyContentLevel, put_RacyContentLevel)
|
|
150
|
+
ViolentContentLevel = property(get_ViolentContentLevel, put_ViolentContentLevel)
|
|
151
|
+
class SeverityLevel(Enum, Int32):
|
|
152
|
+
Minimum = 10
|
|
153
|
+
Low = 11
|
|
154
|
+
Medium = 12
|
|
155
|
+
High = 13
|
|
156
|
+
class TextContentFilterSeverity(ComPtr):
|
|
157
|
+
extends: IInspectable
|
|
158
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity
|
|
159
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity'
|
|
160
|
+
def __init__(self, *args, **kwargs):
|
|
161
|
+
if kwargs:
|
|
162
|
+
super().__init__(**kwargs)
|
|
163
|
+
elif len(args) == 0:
|
|
164
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
|
|
165
|
+
elif len(args) == 1:
|
|
166
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
|
|
167
|
+
else:
|
|
168
|
+
raise ValueError('no matched constructor')
|
|
169
|
+
@winrt_overload
|
|
170
|
+
@winrt_activatemethod
|
|
171
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
172
|
+
@CreateInstance.register
|
|
173
|
+
@winrt_factorymethod
|
|
174
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
175
|
+
@winrt_mixinmethod
|
|
176
|
+
def get_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
177
|
+
@winrt_mixinmethod
|
|
178
|
+
def put_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
179
|
+
@winrt_mixinmethod
|
|
180
|
+
def get_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
181
|
+
@winrt_mixinmethod
|
|
182
|
+
def put_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
183
|
+
@winrt_mixinmethod
|
|
184
|
+
def get_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
185
|
+
@winrt_mixinmethod
|
|
186
|
+
def put_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
187
|
+
@winrt_mixinmethod
|
|
188
|
+
def get_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
189
|
+
@winrt_mixinmethod
|
|
190
|
+
def put_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
191
|
+
Hate = property(get_Hate, put_Hate)
|
|
192
|
+
SelfHarm = property(get_SelfHarm, put_SelfHarm)
|
|
193
|
+
Sexual = property(get_Sexual, put_Sexual)
|
|
194
|
+
Violent = property(get_Violent, put_Violent)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
make_ready(__name__)
|