winrt-Windows.Networking.Proximity 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_proximity.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_networking_proximity.pyi +219 -0
- winrt/windows/networking/proximity/__init__.py +65 -0
- winrt/windows/networking/proximity/py.typed +0 -0
- winrt_windows_networking_proximity-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_networking_proximity-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_networking_proximity-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_networking_proximity-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,219 @@
|
|
|
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.networking.sockets as windows_networking_sockets
|
|
16
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
17
|
+
|
|
18
|
+
from winrt.windows.networking.proximity import PeerDiscoveryTypes, PeerRole, PeerWatcherStatus, TriggeredConnectState
|
|
19
|
+
from winrt.windows.networking.proximity import DeviceArrivedEventHandler, DeviceDepartedEventHandler, MessageReceivedHandler, MessageTransmittedHandler
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class ConnectionRequestedEventArgs(winrt.system.Object):
|
|
25
|
+
# Windows.Networking.Proximity.PeerInformation Windows.Networking.Proximity.ConnectionRequestedEventArgs::get_PeerInformation()
|
|
26
|
+
@_property
|
|
27
|
+
def peer_information(self) -> PeerInformation: ...
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class PeerFinder_Static(winrt._winrt.IInspectable_Static):
|
|
31
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Networking.Sockets.StreamSocket> Windows.Networking.Proximity.PeerFinder::ConnectAsync(Windows.Networking.Proximity.PeerInformation)
|
|
32
|
+
def connect_async(cls, peer_information: PeerInformation, /) -> windows_foundation.IAsyncOperation[windows_networking_sockets.StreamSocket]: ...
|
|
33
|
+
# Windows.Networking.Proximity.PeerWatcher Windows.Networking.Proximity.PeerFinder::CreateWatcher()
|
|
34
|
+
def create_watcher(cls) -> PeerWatcher: ...
|
|
35
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IVectorView`1<Windows.Networking.Proximity.PeerInformation>> Windows.Networking.Proximity.PeerFinder::FindAllPeersAsync()
|
|
36
|
+
def find_all_peers_async(cls) -> windows_foundation.IAsyncOperation[typing.Sequence[PeerInformation]]: ...
|
|
37
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::Start()
|
|
38
|
+
def start(cls) -> None: ...
|
|
39
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::Start(System.String)
|
|
40
|
+
def start_with_message(cls, peer_message: str, /) -> None: ...
|
|
41
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::Stop()
|
|
42
|
+
def stop(cls) -> None: ...
|
|
43
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerFinder::add_ConnectionRequested(Windows.Foundation.TypedEventHandler`2<System.Object,Windows.Networking.Proximity.ConnectionRequestedEventArgs>)
|
|
44
|
+
def add_connection_requested(cls, handler: windows_foundation.TypedEventHandler[winrt.system.Object, ConnectionRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
45
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::remove_ConnectionRequested(Windows.Foundation.EventRegistrationToken)
|
|
46
|
+
def remove_connection_requested(cls, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
47
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerFinder::add_TriggeredConnectionStateChanged(Windows.Foundation.TypedEventHandler`2<System.Object,Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs>)
|
|
48
|
+
def add_triggered_connection_state_changed(cls, handler: windows_foundation.TypedEventHandler[winrt.system.Object, TriggeredConnectionStateChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
49
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::remove_TriggeredConnectionStateChanged(Windows.Foundation.EventRegistrationToken)
|
|
50
|
+
def remove_triggered_connection_state_changed(cls, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
51
|
+
# System.String Windows.Networking.Proximity.PeerFinder::get_DisplayName()
|
|
52
|
+
@_property
|
|
53
|
+
def display_name(cls) -> str: ...
|
|
54
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::put_DisplayName(System.String)
|
|
55
|
+
@display_name.setter
|
|
56
|
+
def display_name(cls, value: str) -> None: ...
|
|
57
|
+
# System.Boolean Windows.Networking.Proximity.PeerFinder::get_AllowWiFiDirect()
|
|
58
|
+
@_property
|
|
59
|
+
def allow_wi_fi_direct(cls) -> bool: ...
|
|
60
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::put_AllowWiFiDirect(System.Boolean)
|
|
61
|
+
@allow_wi_fi_direct.setter
|
|
62
|
+
def allow_wi_fi_direct(cls, value: bool) -> None: ...
|
|
63
|
+
# System.Boolean Windows.Networking.Proximity.PeerFinder::get_AllowInfrastructure()
|
|
64
|
+
@_property
|
|
65
|
+
def allow_infrastructure(cls) -> bool: ...
|
|
66
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::put_AllowInfrastructure(System.Boolean)
|
|
67
|
+
@allow_infrastructure.setter
|
|
68
|
+
def allow_infrastructure(cls, value: bool) -> None: ...
|
|
69
|
+
# System.Boolean Windows.Networking.Proximity.PeerFinder::get_AllowBluetooth()
|
|
70
|
+
@_property
|
|
71
|
+
def allow_bluetooth(cls) -> bool: ...
|
|
72
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::put_AllowBluetooth(System.Boolean)
|
|
73
|
+
@allow_bluetooth.setter
|
|
74
|
+
def allow_bluetooth(cls, value: bool) -> None: ...
|
|
75
|
+
# Windows.Foundation.Collections.IMap`2<System.String,System.String> Windows.Networking.Proximity.PeerFinder::get_AlternateIdentities()
|
|
76
|
+
@_property
|
|
77
|
+
def alternate_identities(cls) -> typing.MutableMapping[str, str]: ...
|
|
78
|
+
# Windows.Networking.Proximity.PeerDiscoveryTypes Windows.Networking.Proximity.PeerFinder::get_SupportedDiscoveryTypes()
|
|
79
|
+
@_property
|
|
80
|
+
def supported_discovery_types(cls) -> PeerDiscoveryTypes: ...
|
|
81
|
+
# Windows.Networking.Proximity.PeerRole Windows.Networking.Proximity.PeerFinder::get_Role()
|
|
82
|
+
@_property
|
|
83
|
+
def role(cls) -> PeerRole: ...
|
|
84
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::put_Role(Windows.Networking.Proximity.PeerRole)
|
|
85
|
+
@role.setter
|
|
86
|
+
def role(cls, value: PeerRole) -> None: ...
|
|
87
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.Proximity.PeerFinder::get_DiscoveryData()
|
|
88
|
+
@_property
|
|
89
|
+
def discovery_data(cls) -> winrt.system.Buffer: ...
|
|
90
|
+
# System.Void Windows.Networking.Proximity.PeerFinder::put_DiscoveryData(Windows.Storage.Streams.IBuffer)
|
|
91
|
+
@discovery_data.setter
|
|
92
|
+
def discovery_data(cls, value: winrt.system.Buffer) -> None: ...
|
|
93
|
+
|
|
94
|
+
@typing.final
|
|
95
|
+
class PeerFinder(winrt.system.Object, metaclass=PeerFinder_Static):
|
|
96
|
+
pass
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class PeerInformation(winrt.system.Object):
|
|
100
|
+
# System.String Windows.Networking.Proximity.PeerInformation::get_DisplayName()
|
|
101
|
+
@_property
|
|
102
|
+
def display_name(self) -> str: ...
|
|
103
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.Proximity.PeerInformation::get_DiscoveryData()
|
|
104
|
+
@_property
|
|
105
|
+
def discovery_data(self) -> winrt.system.Buffer: ...
|
|
106
|
+
# System.String Windows.Networking.Proximity.PeerInformation::get_Id()
|
|
107
|
+
@_property
|
|
108
|
+
def id(self) -> str: ...
|
|
109
|
+
# Windows.Networking.HostName Windows.Networking.Proximity.PeerInformation::get_HostName()
|
|
110
|
+
@_property
|
|
111
|
+
def host_name(self) -> windows_networking.HostName: ...
|
|
112
|
+
# System.String Windows.Networking.Proximity.PeerInformation::get_ServiceName()
|
|
113
|
+
@_property
|
|
114
|
+
def service_name(self) -> str: ...
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class PeerWatcher(winrt.system.Object):
|
|
118
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::Start()
|
|
119
|
+
def start(self) -> None: ...
|
|
120
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::Stop()
|
|
121
|
+
def stop(self) -> None: ...
|
|
122
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerWatcher::add_Added(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Proximity.PeerWatcher,Windows.Networking.Proximity.PeerInformation>)
|
|
123
|
+
def add_added(self, handler: windows_foundation.TypedEventHandler[PeerWatcher, PeerInformation], /) -> windows_foundation.EventRegistrationToken: ...
|
|
124
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::remove_Added(Windows.Foundation.EventRegistrationToken)
|
|
125
|
+
def remove_added(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
126
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerWatcher::add_EnumerationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Proximity.PeerWatcher,System.Object>)
|
|
127
|
+
def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[PeerWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
128
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::remove_EnumerationCompleted(Windows.Foundation.EventRegistrationToken)
|
|
129
|
+
def remove_enumeration_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
130
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerWatcher::add_Removed(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Proximity.PeerWatcher,Windows.Networking.Proximity.PeerInformation>)
|
|
131
|
+
def add_removed(self, handler: windows_foundation.TypedEventHandler[PeerWatcher, PeerInformation], /) -> windows_foundation.EventRegistrationToken: ...
|
|
132
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::remove_Removed(Windows.Foundation.EventRegistrationToken)
|
|
133
|
+
def remove_removed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
134
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerWatcher::add_Stopped(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Proximity.PeerWatcher,System.Object>)
|
|
135
|
+
def add_stopped(self, handler: windows_foundation.TypedEventHandler[PeerWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
136
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::remove_Stopped(Windows.Foundation.EventRegistrationToken)
|
|
137
|
+
def remove_stopped(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
138
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.PeerWatcher::add_Updated(Windows.Foundation.TypedEventHandler`2<Windows.Networking.Proximity.PeerWatcher,Windows.Networking.Proximity.PeerInformation>)
|
|
139
|
+
def add_updated(self, handler: windows_foundation.TypedEventHandler[PeerWatcher, PeerInformation], /) -> windows_foundation.EventRegistrationToken: ...
|
|
140
|
+
# System.Void Windows.Networking.Proximity.PeerWatcher::remove_Updated(Windows.Foundation.EventRegistrationToken)
|
|
141
|
+
def remove_updated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
142
|
+
# Windows.Networking.Proximity.PeerWatcherStatus Windows.Networking.Proximity.PeerWatcher::get_Status()
|
|
143
|
+
@_property
|
|
144
|
+
def status(self) -> PeerWatcherStatus: ...
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class ProximityDevice_Static(winrt._winrt.IInspectable_Static):
|
|
148
|
+
# Windows.Networking.Proximity.ProximityDevice Windows.Networking.Proximity.ProximityDevice::FromId(System.String)
|
|
149
|
+
def from_id(cls, device_id: str, /) -> ProximityDevice: ...
|
|
150
|
+
# Windows.Networking.Proximity.ProximityDevice Windows.Networking.Proximity.ProximityDevice::GetDefault()
|
|
151
|
+
def get_default(cls) -> ProximityDevice: ...
|
|
152
|
+
# System.String Windows.Networking.Proximity.ProximityDevice::GetDeviceSelector()
|
|
153
|
+
def get_device_selector(cls) -> str: ...
|
|
154
|
+
|
|
155
|
+
@typing.final
|
|
156
|
+
class ProximityDevice(winrt.system.Object, metaclass=ProximityDevice_Static):
|
|
157
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::PublishBinaryMessage(System.String,Windows.Storage.Streams.IBuffer)
|
|
158
|
+
def publish_binary_message(self, message_type: str, message: winrt.system.Buffer, /) -> winrt.system.Int64: ...
|
|
159
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::PublishBinaryMessage(System.String,Windows.Storage.Streams.IBuffer,Windows.Networking.Proximity.MessageTransmittedHandler)
|
|
160
|
+
def publish_binary_message_with_callback(self, message_type: str, message: winrt.system.Buffer, message_transmitted_handler: MessageTransmittedHandler, /) -> winrt.system.Int64: ...
|
|
161
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::PublishMessage(System.String,System.String)
|
|
162
|
+
def publish_message(self, message_type: str, message: str, /) -> winrt.system.Int64: ...
|
|
163
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::PublishMessage(System.String,System.String,Windows.Networking.Proximity.MessageTransmittedHandler)
|
|
164
|
+
def publish_message_with_callback(self, message_type: str, message: str, message_transmitted_handler: MessageTransmittedHandler, /) -> winrt.system.Int64: ...
|
|
165
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::PublishUriMessage(Windows.Foundation.Uri)
|
|
166
|
+
def publish_uri_message(self, message: windows_foundation.Uri, /) -> winrt.system.Int64: ...
|
|
167
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::PublishUriMessage(Windows.Foundation.Uri,Windows.Networking.Proximity.MessageTransmittedHandler)
|
|
168
|
+
def publish_uri_message_with_callback(self, message: windows_foundation.Uri, message_transmitted_handler: MessageTransmittedHandler, /) -> winrt.system.Int64: ...
|
|
169
|
+
# System.Void Windows.Networking.Proximity.ProximityDevice::StopPublishingMessage(System.Int64)
|
|
170
|
+
def stop_publishing_message(self, message_id: winrt.system.Int64, /) -> None: ...
|
|
171
|
+
# System.Void Windows.Networking.Proximity.ProximityDevice::StopSubscribingForMessage(System.Int64)
|
|
172
|
+
def stop_subscribing_for_message(self, subscription_id: winrt.system.Int64, /) -> None: ...
|
|
173
|
+
# System.Int64 Windows.Networking.Proximity.ProximityDevice::SubscribeForMessage(System.String,Windows.Networking.Proximity.MessageReceivedHandler)
|
|
174
|
+
def subscribe_for_message(self, message_type: str, message_received_handler: MessageReceivedHandler, /) -> winrt.system.Int64: ...
|
|
175
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.ProximityDevice::add_DeviceArrived(Windows.Networking.Proximity.DeviceArrivedEventHandler)
|
|
176
|
+
def add_device_arrived(self, arrived_handler: DeviceArrivedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
177
|
+
# System.Void Windows.Networking.Proximity.ProximityDevice::remove_DeviceArrived(Windows.Foundation.EventRegistrationToken)
|
|
178
|
+
def remove_device_arrived(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
179
|
+
# Windows.Foundation.EventRegistrationToken Windows.Networking.Proximity.ProximityDevice::add_DeviceDeparted(Windows.Networking.Proximity.DeviceDepartedEventHandler)
|
|
180
|
+
def add_device_departed(self, departed_handler: DeviceDepartedEventHandler, /) -> windows_foundation.EventRegistrationToken: ...
|
|
181
|
+
# System.Void Windows.Networking.Proximity.ProximityDevice::remove_DeviceDeparted(Windows.Foundation.EventRegistrationToken)
|
|
182
|
+
def remove_device_departed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
183
|
+
# System.UInt64 Windows.Networking.Proximity.ProximityDevice::get_BitsPerSecond()
|
|
184
|
+
@_property
|
|
185
|
+
def bits_per_second(self) -> winrt.system.UInt64: ...
|
|
186
|
+
# System.String Windows.Networking.Proximity.ProximityDevice::get_DeviceId()
|
|
187
|
+
@_property
|
|
188
|
+
def device_id(self) -> str: ...
|
|
189
|
+
# System.UInt32 Windows.Networking.Proximity.ProximityDevice::get_MaxMessageBytes()
|
|
190
|
+
@_property
|
|
191
|
+
def max_message_bytes(self) -> winrt.system.UInt32: ...
|
|
192
|
+
|
|
193
|
+
@typing.final
|
|
194
|
+
class ProximityMessage(winrt.system.Object):
|
|
195
|
+
# Windows.Storage.Streams.IBuffer Windows.Networking.Proximity.ProximityMessage::get_Data()
|
|
196
|
+
@_property
|
|
197
|
+
def data(self) -> winrt.system.Buffer: ...
|
|
198
|
+
# System.String Windows.Networking.Proximity.ProximityMessage::get_DataAsString()
|
|
199
|
+
@_property
|
|
200
|
+
def data_as_string(self) -> str: ...
|
|
201
|
+
# System.String Windows.Networking.Proximity.ProximityMessage::get_MessageType()
|
|
202
|
+
@_property
|
|
203
|
+
def message_type(self) -> str: ...
|
|
204
|
+
# System.Int64 Windows.Networking.Proximity.ProximityMessage::get_SubscriptionId()
|
|
205
|
+
@_property
|
|
206
|
+
def subscription_id(self) -> winrt.system.Int64: ...
|
|
207
|
+
|
|
208
|
+
@typing.final
|
|
209
|
+
class TriggeredConnectionStateChangedEventArgs(winrt.system.Object):
|
|
210
|
+
# System.UInt32 Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs::get_Id()
|
|
211
|
+
@_property
|
|
212
|
+
def id(self) -> winrt.system.UInt32: ...
|
|
213
|
+
# Windows.Networking.Sockets.StreamSocket Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs::get_Socket()
|
|
214
|
+
@_property
|
|
215
|
+
def socket(self) -> windows_networking_sockets.StreamSocket: ...
|
|
216
|
+
# Windows.Networking.Proximity.TriggeredConnectState Windows.Networking.Proximity.TriggeredConnectionStateChangedEventArgs::get_State()
|
|
217
|
+
@_property
|
|
218
|
+
def state(self) -> TriggeredConnectState: ...
|
|
219
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt._winrt_windows_networking_proximity import (
|
|
9
|
+
ConnectionRequestedEventArgs,
|
|
10
|
+
PeerFinder,
|
|
11
|
+
PeerInformation,
|
|
12
|
+
PeerWatcher,
|
|
13
|
+
ProximityDevice,
|
|
14
|
+
ProximityMessage,
|
|
15
|
+
TriggeredConnectionStateChangedEventArgs,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"PeerDiscoveryTypes",
|
|
20
|
+
"PeerRole",
|
|
21
|
+
"PeerWatcherStatus",
|
|
22
|
+
"TriggeredConnectState",
|
|
23
|
+
"ConnectionRequestedEventArgs",
|
|
24
|
+
"PeerFinder",
|
|
25
|
+
"PeerInformation",
|
|
26
|
+
"PeerWatcher",
|
|
27
|
+
"ProximityDevice",
|
|
28
|
+
"ProximityMessage",
|
|
29
|
+
"TriggeredConnectionStateChangedEventArgs",
|
|
30
|
+
"DeviceArrivedEventHandler",
|
|
31
|
+
"DeviceDepartedEventHandler",
|
|
32
|
+
"MessageReceivedHandler",
|
|
33
|
+
"MessageTransmittedHandler",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
class PeerDiscoveryTypes(enum.IntFlag):
|
|
37
|
+
NONE = 0x0
|
|
38
|
+
BROWSE = 0x1
|
|
39
|
+
TRIGGERED = 0x2
|
|
40
|
+
|
|
41
|
+
class PeerRole(enum.IntEnum):
|
|
42
|
+
PEER = 0
|
|
43
|
+
HOST = 1
|
|
44
|
+
CLIENT = 2
|
|
45
|
+
|
|
46
|
+
class PeerWatcherStatus(enum.IntEnum):
|
|
47
|
+
CREATED = 0
|
|
48
|
+
STARTED = 1
|
|
49
|
+
ENUMERATION_COMPLETED = 2
|
|
50
|
+
STOPPING = 3
|
|
51
|
+
STOPPED = 4
|
|
52
|
+
ABORTED = 5
|
|
53
|
+
|
|
54
|
+
class TriggeredConnectState(enum.IntEnum):
|
|
55
|
+
PEER_FOUND = 0
|
|
56
|
+
LISTENING = 1
|
|
57
|
+
CONNECTING = 2
|
|
58
|
+
COMPLETED = 3
|
|
59
|
+
CANCELED = 4
|
|
60
|
+
FAILED = 5
|
|
61
|
+
|
|
62
|
+
DeviceArrivedEventHandler = typing.Callable[[ProximityDevice], None]
|
|
63
|
+
DeviceDepartedEventHandler = typing.Callable[[ProximityDevice], None]
|
|
64
|
+
MessageReceivedHandler = typing.Callable[[ProximityDevice, ProximityMessage], None]
|
|
65
|
+
MessageTransmittedHandler = typing.Callable[[ProximityDevice, winrt.system.Int64], None]
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.Networking.Proximity
|
|
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.Networking.Sockets[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.Networking.Proximity
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Networking.Proximity` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.networking.proximity` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_networking_proximity.cp314-win32.pyd,sha256=jury7lUd7UlvIDIjCQH0mBrmQUJaX7xx9lgQBv3oTUk,197120
|
|
2
|
+
winrt/_winrt_windows_networking_proximity.pyi,sha256=Wq3AouJWE2cnvMdgQK4kRahUiK_E80JVxB0iZTTDqY0,16714
|
|
3
|
+
winrt/windows/networking/proximity/__init__.py,sha256=Z1lkBQAiH_uT5Kfl1XrxbqIXnxIgXaVnQZiGdweG81o,1595
|
|
4
|
+
winrt/windows/networking/proximity/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_networking_proximity-3.2.1.dist-info/METADATA,sha256=FTh2oNMo6fHp6GmpF2ob1662MBoNJZGIY5T7knciYV0,1378
|
|
6
|
+
winrt_windows_networking_proximity-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_networking_proximity-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_networking_proximity-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|