winrt-Windows.Networking.XboxLive 3.2.1__cp314-cp314-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_networking_xboxlive.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_networking_xboxlive.pyi +281 -0
- winrt/windows/networking/xboxlive/__init__.py +95 -0
- winrt/windows/networking/xboxlive/py.typed +0 -0
- winrt_windows_networking_xboxlive-3.2.1.dist-info/METADATA +28 -0
- winrt_windows_networking_xboxlive-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_networking_xboxlive-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_networking_xboxlive-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.networking as windows_networking
|
|
15
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
16
|
+
|
|
17
|
+
from winrt.windows.networking.xboxlive import XboxLiveEndpointPairCreationBehaviors, XboxLiveEndpointPairCreationStatus, XboxLiveEndpointPairState, XboxLiveNetworkAccessKind, XboxLiveQualityOfServiceMeasurementStatus, XboxLiveQualityOfServiceMetric, XboxLiveSocketKind
|
|
18
|
+
|
|
19
|
+
Self = typing.TypeVar('Self')
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class XboxLiveDeviceAddress_Static(winrt._winrt.IInspectable_Static):
|
|
23
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveDeviceAddress::CreateFromSnapshotBase64(System.String)
|
|
24
|
+
def create_from_snapshot_base64(cls, base64: str, /) -> XboxLiveDeviceAddress: ...
|
|
25
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveDeviceAddress::CreateFromSnapshotBuffer(Windows.Storage.Streams.IBuffer)
|
|
26
|
+
def create_from_snapshot_buffer(cls, buffer: winrt.system.Buffer, /) -> XboxLiveDeviceAddress: ...
|
|
27
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveDeviceAddress::CreateFromSnapshotBytes(System.Byte[])
|
|
28
|
+
def create_from_snapshot_bytes(cls, buffer: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> XboxLiveDeviceAddress: ...
|
|
29
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveDeviceAddress::GetLocal()
|
|
30
|
+
def get_local(cls) -> XboxLiveDeviceAddress: ...
|
|
31
|
+
# System.UInt32 Windows.Networking.XboxLive.XboxLiveDeviceAddress::get_MaxSnapshotBytesSize()
|
|
32
|
+
@_property
|
|
33
|
+
def max_snapshot_bytes_size(cls) -> winrt.system.UInt32: ...
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class XboxLiveDeviceAddress(winrt.system.Object, metaclass=XboxLiveDeviceAddress_Static):
|
|
37
|
+
# System.Int32 Windows.Networking.XboxLive.XboxLiveDeviceAddress::Compare(Windows.Networking.XboxLive.XboxLiveDeviceAddress)
|
|
38
|
+
def compare(self, other_device_address: XboxLiveDeviceAddress, /) -> winrt.system.Int32: ...
|
|
39
|
+
# System.String Windows.Networking.XboxLive.XboxLiveDeviceAddress::GetSnapshotAsBase64()
|
|
40
|
+
def get_snapshot_as_base64(self) -> str: ...
|
|
41
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.XboxLive.XboxLiveDeviceAddress::GetSnapshotAsBuffer()
|
|
42
|
+
def get_snapshot_as_buffer(self) -> winrt.system.Buffer: ...
|
|
43
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveDeviceAddress::GetSnapshotAsBytes(System.Byte[],System.UInt32&)
|
|
44
|
+
def get_snapshot_as_bytes(self, buffer: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
|
|
45
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.XboxLive.XboxLiveDeviceAddress::add_SnapshotChanged(Windows.Foundation.TypedEventHandler`2<Windows.Networking.XboxLive.XboxLiveDeviceAddress,System.Object>)
|
|
46
|
+
def add_snapshot_changed(self, handler: windows_foundation.TypedEventHandler[XboxLiveDeviceAddress, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
47
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveDeviceAddress::remove_SnapshotChanged(Windows.Foundation.EventRegistrationToken)
|
|
48
|
+
def remove_snapshot_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
49
|
+
# System.Boolean Windows.Networking.XboxLive.XboxLiveDeviceAddress::get_IsLocal()
|
|
50
|
+
@_property
|
|
51
|
+
def is_local(self) -> bool: ...
|
|
52
|
+
# System.Boolean Windows.Networking.XboxLive.XboxLiveDeviceAddress::get_IsValid()
|
|
53
|
+
@_property
|
|
54
|
+
def is_valid(self) -> bool: ...
|
|
55
|
+
# Windows.Networking.XboxLive.XboxLiveNetworkAccessKind Windows.Networking.XboxLive.XboxLiveDeviceAddress::get_NetworkAccessKind()
|
|
56
|
+
@_property
|
|
57
|
+
def network_access_kind(self) -> XboxLiveNetworkAccessKind: ...
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class XboxLiveEndpointPair_Static(winrt._winrt.IInspectable_Static):
|
|
61
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPair Windows.Networking.XboxLive.XboxLiveEndpointPair::FindEndpointPairByHostNamesAndPorts(Windows.Networking.HostName,System.String,Windows.Networking.HostName,System.String)
|
|
62
|
+
def find_endpoint_pair_by_host_names_and_ports(cls, local_host_name: windows_networking.HostName, local_port: str, remote_host_name: windows_networking.HostName, remote_port: str, /) -> XboxLiveEndpointPair: ...
|
|
63
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPair Windows.Networking.XboxLive.XboxLiveEndpointPair::FindEndpointPairBySocketAddressBytes(System.Byte[],System.Byte[])
|
|
64
|
+
def find_endpoint_pair_by_socket_address_bytes(cls, local_socket_address: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], remote_socket_address: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> XboxLiveEndpointPair: ...
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class XboxLiveEndpointPair(winrt.system.Object, metaclass=XboxLiveEndpointPair_Static):
|
|
68
|
+
# Windows.Foundation.IAsyncAction Windows.Networking.XboxLive.XboxLiveEndpointPair::DeleteAsync()
|
|
69
|
+
def delete_async(self) -> windows_foundation.IAsyncAction: ...
|
|
70
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveEndpointPair::GetLocalSocketAddressBytes(System.Byte[])
|
|
71
|
+
def get_local_socket_address_bytes(self, socket_address: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.WriteableBuffer], /) -> None: ...
|
|
72
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveEndpointPair::GetRemoteSocketAddressBytes(System.Byte[])
|
|
73
|
+
def get_remote_socket_address_bytes(self, socket_address: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.WriteableBuffer], /) -> None: ...
|
|
74
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.XboxLive.XboxLiveEndpointPair::add_StateChanged(Windows.Foundation.TypedEventHandler`2<Windows.Networking.XboxLive.XboxLiveEndpointPair,Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs>)
|
|
75
|
+
def add_state_changed(self, handler: windows_foundation.TypedEventHandler[XboxLiveEndpointPair, XboxLiveEndpointPairStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
76
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveEndpointPair::remove_StateChanged(Windows.Foundation.EventRegistrationToken)
|
|
77
|
+
def remove_state_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
78
|
+
# Windows.Networking.HostName Windows.Networking.XboxLive.XboxLiveEndpointPair::get_LocalHostName()
|
|
79
|
+
@_property
|
|
80
|
+
def local_host_name(self) -> windows_networking.HostName: ...
|
|
81
|
+
# System.String Windows.Networking.XboxLive.XboxLiveEndpointPair::get_LocalPort()
|
|
82
|
+
@_property
|
|
83
|
+
def local_port(self) -> str: ...
|
|
84
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveEndpointPair::get_RemoteDeviceAddress()
|
|
85
|
+
@_property
|
|
86
|
+
def remote_device_address(self) -> XboxLiveDeviceAddress: ...
|
|
87
|
+
# Windows.Networking.HostName Windows.Networking.XboxLive.XboxLiveEndpointPair::get_RemoteHostName()
|
|
88
|
+
@_property
|
|
89
|
+
def remote_host_name(self) -> windows_networking.HostName: ...
|
|
90
|
+
# System.String Windows.Networking.XboxLive.XboxLiveEndpointPair::get_RemotePort()
|
|
91
|
+
@_property
|
|
92
|
+
def remote_port(self) -> str: ...
|
|
93
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPairState Windows.Networking.XboxLive.XboxLiveEndpointPair::get_State()
|
|
94
|
+
@_property
|
|
95
|
+
def state(self) -> XboxLiveEndpointPairState: ...
|
|
96
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate Windows.Networking.XboxLive.XboxLiveEndpointPair::get_Template()
|
|
97
|
+
@_property
|
|
98
|
+
def template(self) -> XboxLiveEndpointPairTemplate: ...
|
|
99
|
+
|
|
100
|
+
@typing.final
|
|
101
|
+
class XboxLiveEndpointPairCreationResult(winrt.system.Object):
|
|
102
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult::get_DeviceAddress()
|
|
103
|
+
@_property
|
|
104
|
+
def device_address(self) -> XboxLiveDeviceAddress: ...
|
|
105
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPair Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult::get_EndpointPair()
|
|
106
|
+
@_property
|
|
107
|
+
def endpoint_pair(self) -> XboxLiveEndpointPair: ...
|
|
108
|
+
# System.Boolean Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult::get_IsExistingPathEvaluation()
|
|
109
|
+
@_property
|
|
110
|
+
def is_existing_path_evaluation(self) -> bool: ...
|
|
111
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPairCreationStatus Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult::get_Status()
|
|
112
|
+
@_property
|
|
113
|
+
def status(self) -> XboxLiveEndpointPairCreationStatus: ...
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class XboxLiveEndpointPairStateChangedEventArgs(winrt.system.Object):
|
|
117
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPairState Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs::get_NewState()
|
|
118
|
+
@_property
|
|
119
|
+
def new_state(self) -> XboxLiveEndpointPairState: ...
|
|
120
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPairState Windows.Networking.XboxLive.XboxLiveEndpointPairStateChangedEventArgs::get_OldState()
|
|
121
|
+
@_property
|
|
122
|
+
def old_state(self) -> XboxLiveEndpointPairState: ...
|
|
123
|
+
|
|
124
|
+
@typing.final
|
|
125
|
+
class XboxLiveEndpointPairTemplate_Static(winrt._winrt.IInspectable_Static):
|
|
126
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::GetTemplateByName(System.String)
|
|
127
|
+
def get_template_by_name(cls, name: str, /) -> XboxLiveEndpointPairTemplate: ...
|
|
128
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate> Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_Templates()
|
|
129
|
+
@_property
|
|
130
|
+
def templates(cls) -> typing.Sequence[XboxLiveEndpointPairTemplate]: ...
|
|
131
|
+
|
|
132
|
+
@typing.final
|
|
133
|
+
class XboxLiveEndpointPairTemplate(winrt.system.Object, metaclass=XboxLiveEndpointPairTemplate_Static):
|
|
134
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult> Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::CreateEndpointPairAsync(Windows.Networking.XboxLive.XboxLiveDeviceAddress)
|
|
135
|
+
def create_endpoint_pair_default_async(self, device_address: XboxLiveDeviceAddress, /) -> windows_foundation.IAsyncOperation[XboxLiveEndpointPairCreationResult]: ...
|
|
136
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult> Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::CreateEndpointPairForPortsAsync(Windows.Networking.XboxLive.XboxLiveDeviceAddress,System.String,System.String)
|
|
137
|
+
def create_endpoint_pair_for_ports_default_async(self, device_address: XboxLiveDeviceAddress, initiator_port: str, acceptor_port: str, /) -> windows_foundation.IAsyncOperation[XboxLiveEndpointPairCreationResult]: ...
|
|
138
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult> Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::CreateEndpointPairForPortsAsync(Windows.Networking.XboxLive.XboxLiveDeviceAddress,System.String,System.String,Windows.Networking.XboxLive.XboxLiveEndpointPairCreationBehaviors)
|
|
139
|
+
def create_endpoint_pair_for_ports_with_behaviors_async(self, device_address: XboxLiveDeviceAddress, initiator_port: str, acceptor_port: str, behaviors: XboxLiveEndpointPairCreationBehaviors, /) -> windows_foundation.IAsyncOperation[XboxLiveEndpointPairCreationResult]: ...
|
|
140
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.XboxLive.XboxLiveEndpointPairCreationResult> Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::CreateEndpointPairAsync(Windows.Networking.XboxLive.XboxLiveDeviceAddress,Windows.Networking.XboxLive.XboxLiveEndpointPairCreationBehaviors)
|
|
141
|
+
def create_endpoint_pair_with_behaviors_async(self, device_address: XboxLiveDeviceAddress, behaviors: XboxLiveEndpointPairCreationBehaviors, /) -> windows_foundation.IAsyncOperation[XboxLiveEndpointPairCreationResult]: ...
|
|
142
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::add_InboundEndpointPairCreated(Windows.Foundation.TypedEventHandler`2<Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate,Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs>)
|
|
143
|
+
def add_inbound_endpoint_pair_created(self, handler: windows_foundation.TypedEventHandler[XboxLiveEndpointPairTemplate, XboxLiveInboundEndpointPairCreatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
144
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::remove_InboundEndpointPairCreated(Windows.Foundation.EventRegistrationToken)
|
|
145
|
+
def remove_inbound_endpoint_pair_created(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
146
|
+
# System.UInt16 Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_AcceptorBoundPortRangeLower()
|
|
147
|
+
@_property
|
|
148
|
+
def acceptor_bound_port_range_lower(self) -> winrt.system.UInt16: ...
|
|
149
|
+
# System.UInt16 Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_AcceptorBoundPortRangeUpper()
|
|
150
|
+
@_property
|
|
151
|
+
def acceptor_bound_port_range_upper(self) -> winrt.system.UInt16: ...
|
|
152
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.XboxLive.XboxLiveEndpointPair> Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_EndpointPairs()
|
|
153
|
+
@_property
|
|
154
|
+
def endpoint_pairs(self) -> typing.Sequence[XboxLiveEndpointPair]: ...
|
|
155
|
+
# System.UInt16 Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_InitiatorBoundPortRangeLower()
|
|
156
|
+
@_property
|
|
157
|
+
def initiator_bound_port_range_lower(self) -> winrt.system.UInt16: ...
|
|
158
|
+
# System.UInt16 Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_InitiatorBoundPortRangeUpper()
|
|
159
|
+
@_property
|
|
160
|
+
def initiator_bound_port_range_upper(self) -> winrt.system.UInt16: ...
|
|
161
|
+
# System.String Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_Name()
|
|
162
|
+
@_property
|
|
163
|
+
def name(self) -> str: ...
|
|
164
|
+
# Windows.Networking.XboxLive.XboxLiveSocketKind Windows.Networking.XboxLive.XboxLiveEndpointPairTemplate::get_SocketKind()
|
|
165
|
+
@_property
|
|
166
|
+
def socket_kind(self) -> XboxLiveSocketKind: ...
|
|
167
|
+
|
|
168
|
+
@typing.final
|
|
169
|
+
class XboxLiveInboundEndpointPairCreatedEventArgs(winrt.system.Object):
|
|
170
|
+
# Windows.Networking.XboxLive.XboxLiveEndpointPair Windows.Networking.XboxLive.XboxLiveInboundEndpointPairCreatedEventArgs::get_EndpointPair()
|
|
171
|
+
@_property
|
|
172
|
+
def endpoint_pair(self) -> XboxLiveEndpointPair: ...
|
|
173
|
+
|
|
174
|
+
@typing.final
|
|
175
|
+
class XboxLiveQualityOfServiceMeasurement_Static(winrt._winrt.IInspectable_Static):
|
|
176
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::ClearPrivatePayload()
|
|
177
|
+
def clear_private_payload(cls) -> None: ...
|
|
178
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::PublishPrivatePayloadBytes(System.Byte[])
|
|
179
|
+
def publish_private_payload_bytes(cls, payload: typing.Union[winrt.system.Array[winrt.system.UInt8], winrt.system.ReadableBuffer], /) -> None: ...
|
|
180
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_PublishedPrivatePayload()
|
|
181
|
+
@_property
|
|
182
|
+
def published_private_payload(cls) -> winrt.system.Buffer: ...
|
|
183
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_PublishedPrivatePayload(Windows.Storage.Streams.IBuffer)
|
|
184
|
+
@published_private_payload.setter
|
|
185
|
+
def published_private_payload(cls, value: winrt.system.Buffer) -> None: ...
|
|
186
|
+
# System.UInt32 Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_MaxSimultaneousProbeConnections()
|
|
187
|
+
@_property
|
|
188
|
+
def max_simultaneous_probe_connections(cls) -> winrt.system.UInt32: ...
|
|
189
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_MaxSimultaneousProbeConnections(System.UInt32)
|
|
190
|
+
@max_simultaneous_probe_connections.setter
|
|
191
|
+
def max_simultaneous_probe_connections(cls, value: winrt.system.UInt32) -> None: ...
|
|
192
|
+
# System.Boolean Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_IsSystemOutboundBandwidthConstrained()
|
|
193
|
+
@_property
|
|
194
|
+
def is_system_outbound_bandwidth_constrained(cls) -> bool: ...
|
|
195
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_IsSystemOutboundBandwidthConstrained(System.Boolean)
|
|
196
|
+
@is_system_outbound_bandwidth_constrained.setter
|
|
197
|
+
def is_system_outbound_bandwidth_constrained(cls, value: bool) -> None: ...
|
|
198
|
+
# System.Boolean Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_IsSystemInboundBandwidthConstrained()
|
|
199
|
+
@_property
|
|
200
|
+
def is_system_inbound_bandwidth_constrained(cls) -> bool: ...
|
|
201
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_IsSystemInboundBandwidthConstrained(System.Boolean)
|
|
202
|
+
@is_system_inbound_bandwidth_constrained.setter
|
|
203
|
+
def is_system_inbound_bandwidth_constrained(cls, value: bool) -> None: ...
|
|
204
|
+
# System.UInt32 Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_MaxPrivatePayloadSize()
|
|
205
|
+
@_property
|
|
206
|
+
def max_private_payload_size(cls) -> winrt.system.UInt32: ...
|
|
207
|
+
|
|
208
|
+
@typing.final
|
|
209
|
+
class XboxLiveQualityOfServiceMeasurement(winrt.system.Object, metaclass=XboxLiveQualityOfServiceMeasurement_Static):
|
|
210
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
211
|
+
# Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::GetMetricResult(Windows.Networking.XboxLive.XboxLiveDeviceAddress,Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric)
|
|
212
|
+
def get_metric_result(self, device_address: XboxLiveDeviceAddress, metric: XboxLiveQualityOfServiceMetric, /) -> XboxLiveQualityOfServiceMetricResult: ...
|
|
213
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult> Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::GetMetricResultsForDevice(Windows.Networking.XboxLive.XboxLiveDeviceAddress)
|
|
214
|
+
def get_metric_results_for_device(self, device_address: XboxLiveDeviceAddress, /) -> typing.Sequence[XboxLiveQualityOfServiceMetricResult]: ...
|
|
215
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult> Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::GetMetricResultsForMetric(Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric)
|
|
216
|
+
def get_metric_results_for_metric(self, metric: XboxLiveQualityOfServiceMetric, /) -> typing.Sequence[XboxLiveQualityOfServiceMetricResult]: ...
|
|
217
|
+
# Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::GetPrivatePayloadResult(Windows.Networking.XboxLive.XboxLiveDeviceAddress)
|
|
218
|
+
def get_private_payload_result(self, device_address: XboxLiveDeviceAddress, /) -> XboxLiveQualityOfServicePrivatePayloadResult: ...
|
|
219
|
+
# Windows.Foundation.IAsyncAction Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::MeasureAsync()
|
|
220
|
+
def measure_async(self) -> windows_foundation.IAsyncAction: ...
|
|
221
|
+
# System.UInt32 Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_TimeoutInMilliseconds()
|
|
222
|
+
@_property
|
|
223
|
+
def timeout_in_milliseconds(self) -> winrt.system.UInt32: ...
|
|
224
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_TimeoutInMilliseconds(System.UInt32)
|
|
225
|
+
@timeout_in_milliseconds.setter
|
|
226
|
+
def timeout_in_milliseconds(self, value: winrt.system.UInt32) -> None: ...
|
|
227
|
+
# System.Boolean Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_ShouldRequestPrivatePayloads()
|
|
228
|
+
@_property
|
|
229
|
+
def should_request_private_payloads(self) -> bool: ...
|
|
230
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_ShouldRequestPrivatePayloads(System.Boolean)
|
|
231
|
+
@should_request_private_payloads.setter
|
|
232
|
+
def should_request_private_payloads(self, value: bool) -> None: ...
|
|
233
|
+
# System.UInt32 Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_NumberOfProbesToAttempt()
|
|
234
|
+
@_property
|
|
235
|
+
def number_of_probes_to_attempt(self) -> winrt.system.UInt32: ...
|
|
236
|
+
# System.Void Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::put_NumberOfProbesToAttempt(System.UInt32)
|
|
237
|
+
@number_of_probes_to_attempt.setter
|
|
238
|
+
def number_of_probes_to_attempt(self, value: winrt.system.UInt32) -> None: ...
|
|
239
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Networking.XboxLive.XboxLiveDeviceAddress> Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_DeviceAddresses()
|
|
240
|
+
@_property
|
|
241
|
+
def device_addresses(self) -> typing.MutableSequence[XboxLiveDeviceAddress]: ...
|
|
242
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult> Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_MetricResults()
|
|
243
|
+
@_property
|
|
244
|
+
def metric_results(self) -> typing.Sequence[XboxLiveQualityOfServiceMetricResult]: ...
|
|
245
|
+
# Windows.Foundation.Collections.IVector`1<Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric> Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_Metrics()
|
|
246
|
+
@_property
|
|
247
|
+
def metrics(self) -> typing.MutableSequence[XboxLiveQualityOfServiceMetric]: ...
|
|
248
|
+
# System.UInt32 Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_NumberOfResultsPending()
|
|
249
|
+
@_property
|
|
250
|
+
def number_of_results_pending(self) -> winrt.system.UInt32: ...
|
|
251
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult> Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurement::get_PrivatePayloadResults()
|
|
252
|
+
@_property
|
|
253
|
+
def private_payload_results(self) -> typing.Sequence[XboxLiveQualityOfServicePrivatePayloadResult]: ...
|
|
254
|
+
|
|
255
|
+
@typing.final
|
|
256
|
+
class XboxLiveQualityOfServiceMetricResult(winrt.system.Object):
|
|
257
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult::get_DeviceAddress()
|
|
258
|
+
@_property
|
|
259
|
+
def device_address(self) -> XboxLiveDeviceAddress: ...
|
|
260
|
+
# Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetric Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult::get_Metric()
|
|
261
|
+
@_property
|
|
262
|
+
def metric(self) -> XboxLiveQualityOfServiceMetric: ...
|
|
263
|
+
# Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurementStatus Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult::get_Status()
|
|
264
|
+
@_property
|
|
265
|
+
def status(self) -> XboxLiveQualityOfServiceMeasurementStatus: ...
|
|
266
|
+
# System.UInt64 Windows.Networking.XboxLive.XboxLiveQualityOfServiceMetricResult::get_Value()
|
|
267
|
+
@_property
|
|
268
|
+
def value(self) -> winrt.system.UInt64: ...
|
|
269
|
+
|
|
270
|
+
@typing.final
|
|
271
|
+
class XboxLiveQualityOfServicePrivatePayloadResult(winrt.system.Object):
|
|
272
|
+
# Windows.Networking.XboxLive.XboxLiveDeviceAddress Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult::get_DeviceAddress()
|
|
273
|
+
@_property
|
|
274
|
+
def device_address(self) -> XboxLiveDeviceAddress: ...
|
|
275
|
+
# Windows.Networking.XboxLive.XboxLiveQualityOfServiceMeasurementStatus Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult::get_Status()
|
|
276
|
+
@_property
|
|
277
|
+
def status(self) -> XboxLiveQualityOfServiceMeasurementStatus: ...
|
|
278
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.XboxLive.XboxLiveQualityOfServicePrivatePayloadResult::get_Value()
|
|
279
|
+
@_property
|
|
280
|
+
def value(self) -> winrt.system.Buffer: ...
|
|
281
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_networking_xboxlive import (
|
|
7
|
+
XboxLiveDeviceAddress,
|
|
8
|
+
XboxLiveEndpointPair,
|
|
9
|
+
XboxLiveEndpointPairCreationResult,
|
|
10
|
+
XboxLiveEndpointPairStateChangedEventArgs,
|
|
11
|
+
XboxLiveEndpointPairTemplate,
|
|
12
|
+
XboxLiveInboundEndpointPairCreatedEventArgs,
|
|
13
|
+
XboxLiveQualityOfServiceMeasurement,
|
|
14
|
+
XboxLiveQualityOfServiceMetricResult,
|
|
15
|
+
XboxLiveQualityOfServicePrivatePayloadResult,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"XboxLiveEndpointPairCreationBehaviors",
|
|
20
|
+
"XboxLiveEndpointPairCreationStatus",
|
|
21
|
+
"XboxLiveEndpointPairState",
|
|
22
|
+
"XboxLiveNetworkAccessKind",
|
|
23
|
+
"XboxLiveQualityOfServiceMeasurementStatus",
|
|
24
|
+
"XboxLiveQualityOfServiceMetric",
|
|
25
|
+
"XboxLiveSocketKind",
|
|
26
|
+
"XboxLiveDeviceAddress",
|
|
27
|
+
"XboxLiveEndpointPair",
|
|
28
|
+
"XboxLiveEndpointPairCreationResult",
|
|
29
|
+
"XboxLiveEndpointPairStateChangedEventArgs",
|
|
30
|
+
"XboxLiveEndpointPairTemplate",
|
|
31
|
+
"XboxLiveInboundEndpointPairCreatedEventArgs",
|
|
32
|
+
"XboxLiveQualityOfServiceMeasurement",
|
|
33
|
+
"XboxLiveQualityOfServiceMetricResult",
|
|
34
|
+
"XboxLiveQualityOfServicePrivatePayloadResult",
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
class XboxLiveEndpointPairCreationBehaviors(enum.IntFlag):
|
|
38
|
+
NONE = 0x0
|
|
39
|
+
REEVALUATE_PATH = 0x1
|
|
40
|
+
|
|
41
|
+
class XboxLiveEndpointPairCreationStatus(enum.IntEnum):
|
|
42
|
+
SUCCEEDED = 0
|
|
43
|
+
NO_LOCAL_NETWORKS = 1
|
|
44
|
+
NO_COMPATIBLE_NETWORK_PATHS = 2
|
|
45
|
+
LOCAL_SYSTEM_NOT_AUTHORIZED = 3
|
|
46
|
+
CANCELED = 4
|
|
47
|
+
TIMED_OUT = 5
|
|
48
|
+
REMOTE_SYSTEM_NOT_AUTHORIZED = 6
|
|
49
|
+
REFUSED_DUE_TO_CONFIGURATION = 7
|
|
50
|
+
UNEXPECTED_INTERNAL_ERROR = 8
|
|
51
|
+
|
|
52
|
+
class XboxLiveEndpointPairState(enum.IntEnum):
|
|
53
|
+
INVALID = 0
|
|
54
|
+
CREATING_OUTBOUND = 1
|
|
55
|
+
CREATING_INBOUND = 2
|
|
56
|
+
READY = 3
|
|
57
|
+
DELETING_LOCALLY = 4
|
|
58
|
+
REMOTE_ENDPOINT_TERMINATING = 5
|
|
59
|
+
DELETED = 6
|
|
60
|
+
|
|
61
|
+
class XboxLiveNetworkAccessKind(enum.IntEnum):
|
|
62
|
+
OPEN = 0
|
|
63
|
+
MODERATE = 1
|
|
64
|
+
STRICT = 2
|
|
65
|
+
|
|
66
|
+
class XboxLiveQualityOfServiceMeasurementStatus(enum.IntEnum):
|
|
67
|
+
NOT_STARTED = 0
|
|
68
|
+
IN_PROGRESS = 1
|
|
69
|
+
IN_PROGRESS_WITH_PROVISIONAL_RESULTS = 2
|
|
70
|
+
SUCCEEDED = 3
|
|
71
|
+
NO_LOCAL_NETWORKS = 4
|
|
72
|
+
NO_COMPATIBLE_NETWORK_PATHS = 5
|
|
73
|
+
LOCAL_SYSTEM_NOT_AUTHORIZED = 6
|
|
74
|
+
CANCELED = 7
|
|
75
|
+
TIMED_OUT = 8
|
|
76
|
+
REMOTE_SYSTEM_NOT_AUTHORIZED = 9
|
|
77
|
+
REFUSED_DUE_TO_CONFIGURATION = 10
|
|
78
|
+
UNEXPECTED_INTERNAL_ERROR = 11
|
|
79
|
+
|
|
80
|
+
class XboxLiveQualityOfServiceMetric(enum.IntEnum):
|
|
81
|
+
AVERAGE_LATENCY_IN_MILLISECONDS = 0
|
|
82
|
+
MIN_LATENCY_IN_MILLISECONDS = 1
|
|
83
|
+
MAX_LATENCY_IN_MILLISECONDS = 2
|
|
84
|
+
AVERAGE_OUTBOUND_BITS_PER_SECOND = 3
|
|
85
|
+
MIN_OUTBOUND_BITS_PER_SECOND = 4
|
|
86
|
+
MAX_OUTBOUND_BITS_PER_SECOND = 5
|
|
87
|
+
AVERAGE_INBOUND_BITS_PER_SECOND = 6
|
|
88
|
+
MIN_INBOUND_BITS_PER_SECOND = 7
|
|
89
|
+
MAX_INBOUND_BITS_PER_SECOND = 8
|
|
90
|
+
|
|
91
|
+
class XboxLiveSocketKind(enum.IntEnum):
|
|
92
|
+
NONE = 0
|
|
93
|
+
DATAGRAM = 1
|
|
94
|
+
STREAM = 2
|
|
95
|
+
|
|
File without changes
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Networking.XboxLive
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: 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.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Networking[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
|
|
22
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
|
+
|
|
24
|
+
# winrt-Windows.Networking.XboxLive
|
|
25
|
+
|
|
26
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Networking.XboxLive` namespace.
|
|
27
|
+
|
|
28
|
+
This package provides the `winrt.windows.networking.xboxlive` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_networking_xboxlive.cp314-win32.pyd,sha256=dPyUj5xxFt3HNR_HC6ntsTdJ2HoDflRlWas11No2_Nc,240128
|
|
2
|
+
winrt/_winrt_windows_networking_xboxlive.pyi,sha256=8T75Bfwx0ibmmk0NLShISmpeTYU1vcL4y5p0T9NUEps,23775
|
|
3
|
+
winrt/windows/networking/xboxlive/__init__.py,sha256=SCZyz3PuE6aZtmrM80HvifF5Ff1N7OaTLJO_tq132CM,2787
|
|
4
|
+
winrt/windows/networking/xboxlive/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_networking_xboxlive-3.2.1.dist-info/METADATA,sha256=1ErKFqPhbSpMbavog8HWq2Rs0pSveZuzuS-CDDZE_2Q,1295
|
|
6
|
+
winrt_windows_networking_xboxlive-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_networking_xboxlive-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_networking_xboxlive-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|