@octane-xplat/macos-renderer 0.13.0 → 0.15.0
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.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
|
|
4
|
+
declare const CWLinkQualityNotificationRSSIKey: string
|
|
5
|
+
|
|
6
|
+
declare const CWModeDidChangeNotification: string
|
|
7
|
+
|
|
8
|
+
declare const CWPowerDidChangeNotification: string
|
|
9
|
+
|
|
10
|
+
declare const CWErrorDomain: string
|
|
11
|
+
|
|
12
|
+
declare const CWScanCacheDidUpdateNotification: string
|
|
13
|
+
|
|
14
|
+
declare const CWLinkQualityNotificationTransmitRateKey: string
|
|
15
|
+
|
|
16
|
+
declare const CWSSIDDidChangeNotification: string
|
|
17
|
+
|
|
18
|
+
declare const CWCountryCodeDidChangeNotification: string
|
|
19
|
+
|
|
20
|
+
declare const CWBSSIDDidChangeNotification: string
|
|
21
|
+
|
|
22
|
+
declare const CWLinkQualityDidChangeNotification: string
|
|
23
|
+
|
|
24
|
+
declare const CWLinkDidChangeNotification: string
|
|
25
|
+
|
|
26
|
+
declare const CWEventType: {
|
|
27
|
+
None: 0
|
|
28
|
+
PowerDidChange: 1
|
|
29
|
+
SSIDDidChange: 2
|
|
30
|
+
BSSIDDidChange: 3
|
|
31
|
+
CountryCodeDidChange: 4
|
|
32
|
+
LinkDidChange: 5
|
|
33
|
+
LinkQualityDidChange: 6
|
|
34
|
+
ModeDidChange: 7
|
|
35
|
+
ScanCacheUpdated: 8
|
|
36
|
+
BtCoexStats: 9
|
|
37
|
+
Unknown: 9223372036854775807
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare const CWKeychainDomain: {
|
|
41
|
+
None: 0
|
|
42
|
+
User: 1
|
|
43
|
+
System: 2
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const CWCipherKeyFlags: {
|
|
47
|
+
None: 0
|
|
48
|
+
Unicast: 2
|
|
49
|
+
Multicast: 4
|
|
50
|
+
Tx: 8
|
|
51
|
+
Rx: 16
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare const CWChannelWidth: {
|
|
55
|
+
WidthUnknown: 0
|
|
56
|
+
Width20MHz: 1
|
|
57
|
+
Width40MHz: 2
|
|
58
|
+
Width80MHz: 3
|
|
59
|
+
Width160MHz: 4
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
declare const CWIBSSModeSecurity: {
|
|
63
|
+
None: 0
|
|
64
|
+
WEP40: 1
|
|
65
|
+
WEP104: 2
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare const CWInterfaceMode: {
|
|
69
|
+
None: 0
|
|
70
|
+
Station: 1
|
|
71
|
+
IBSS: 2
|
|
72
|
+
HostAP: 3
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare const CWErr: {
|
|
76
|
+
No: 0
|
|
77
|
+
EAPOL: 1
|
|
78
|
+
InvalidParameter: -3900
|
|
79
|
+
NoMemory: -3901
|
|
80
|
+
Unknown: -3902
|
|
81
|
+
NotSupported: -3903
|
|
82
|
+
InvalidFormat: -3904
|
|
83
|
+
Timeout: -3905
|
|
84
|
+
UnspecifiedFailure: -3906
|
|
85
|
+
UnsupportedCapabilities: -3907
|
|
86
|
+
ReassociationDenied: -3908
|
|
87
|
+
AssociationDenied: -3909
|
|
88
|
+
AuthenticationAlgorithmUnsupported: -3910
|
|
89
|
+
InvalidAuthenticationSequenceNumber: -3911
|
|
90
|
+
ChallengeFailure: -3912
|
|
91
|
+
APFull: -3913
|
|
92
|
+
UnsupportedRateSet: -3914
|
|
93
|
+
ShortSlotUnsupported: -3915
|
|
94
|
+
DSSSOFDMUnsupported: -3916
|
|
95
|
+
InvalidInformationElement: -3917
|
|
96
|
+
InvalidGroupCipher: -3918
|
|
97
|
+
InvalidPairwiseCipher: -3919
|
|
98
|
+
InvalidAKMP: -3920
|
|
99
|
+
UnsupportedRSNVersion: -3921
|
|
100
|
+
InvalidRSNCapabilities: -3922
|
|
101
|
+
CipherSuiteRejected: -3923
|
|
102
|
+
InvalidPMK: -3924
|
|
103
|
+
SupplicantTimeout: -3925
|
|
104
|
+
HTFeaturesNotSupported: -3926
|
|
105
|
+
PCOTransitionTimeNotSupported: -3927
|
|
106
|
+
ReferenceNotBound: -3928
|
|
107
|
+
IPCFailure: -3929
|
|
108
|
+
OperationNotPermitted: -3930
|
|
109
|
+
kCWErr: -3931
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare const CWSecurity: {
|
|
113
|
+
None: 0
|
|
114
|
+
WEP: 1
|
|
115
|
+
WPAPersonal: 2
|
|
116
|
+
WPAPersonalMixed: 3
|
|
117
|
+
WPA2Personal: 4
|
|
118
|
+
Personal: 5
|
|
119
|
+
DynamicWEP: 6
|
|
120
|
+
WPAEnterprise: 7
|
|
121
|
+
WPAEnterpriseMixed: 8
|
|
122
|
+
WPA2Enterprise: 9
|
|
123
|
+
Enterprise: 10
|
|
124
|
+
WPA3Personal: 11
|
|
125
|
+
WPA3Enterprise: 12
|
|
126
|
+
WPA3Transition: 13
|
|
127
|
+
OWE: 14
|
|
128
|
+
OWETransition: 15
|
|
129
|
+
Unknown: 9223372036854775807
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
declare const CWPHYMode: {
|
|
133
|
+
ModeNone: 0
|
|
134
|
+
Mode11a: 1
|
|
135
|
+
Mode11b: 2
|
|
136
|
+
Mode11g: 3
|
|
137
|
+
Mode11n: 4
|
|
138
|
+
Mode11ac: 5
|
|
139
|
+
Mode11ax: 6
|
|
140
|
+
Mode11be: 7
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare const CWChannelBand: {
|
|
144
|
+
BandUnknown: 0
|
|
145
|
+
Band2GHz: 1
|
|
146
|
+
Band5GHz: 2
|
|
147
|
+
Band6GHz: 3
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare function CWKeychainFindWiFiPassword(
|
|
151
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
152
|
+
ssid: NSData,
|
|
153
|
+
password: interop.PointerConvertible,
|
|
154
|
+
): number
|
|
155
|
+
|
|
156
|
+
declare function CWKeychainSetWiFiPassword(
|
|
157
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
158
|
+
ssid: NSData,
|
|
159
|
+
password: string,
|
|
160
|
+
): number
|
|
161
|
+
|
|
162
|
+
declare function CWKeychainDeleteWiFiPassword(
|
|
163
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
164
|
+
ssid: NSData,
|
|
165
|
+
): number
|
|
166
|
+
|
|
167
|
+
declare function CWKeychainFindWiFiEAPUsernameAndPassword(
|
|
168
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
169
|
+
ssid: NSData,
|
|
170
|
+
username: interop.PointerConvertible,
|
|
171
|
+
password: interop.PointerConvertible,
|
|
172
|
+
): number
|
|
173
|
+
|
|
174
|
+
declare function CWKeychainSetWiFiEAPUsernameAndPassword(
|
|
175
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
176
|
+
ssid: NSData,
|
|
177
|
+
username: string,
|
|
178
|
+
password: string,
|
|
179
|
+
): number
|
|
180
|
+
|
|
181
|
+
declare function CWKeychainDeleteWiFiEAPUsernameAndPassword(
|
|
182
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
183
|
+
ssid: NSData,
|
|
184
|
+
): number
|
|
185
|
+
|
|
186
|
+
declare function CWKeychainCopyWiFiEAPIdentity(
|
|
187
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
188
|
+
ssid: NSData,
|
|
189
|
+
identity: interop.PointerConvertible,
|
|
190
|
+
): number
|
|
191
|
+
|
|
192
|
+
declare function CWKeychainSetWiFiEAPIdentity(
|
|
193
|
+
domain: interop.Enum<typeof CWKeychainDomain>,
|
|
194
|
+
ssid: NSData,
|
|
195
|
+
identity: interop.Object,
|
|
196
|
+
): number
|
|
197
|
+
|
|
198
|
+
declare function CWKeychainCopyEAPIdentityList(list: interop.PointerConvertible): number
|
|
199
|
+
|
|
200
|
+
declare function CWKeychainCopyEAPUsernameAndPassword(
|
|
201
|
+
ssidData: interop.Object,
|
|
202
|
+
username: interop.PointerConvertible,
|
|
203
|
+
password: interop.PointerConvertible,
|
|
204
|
+
): number
|
|
205
|
+
|
|
206
|
+
declare function CWKeychainSetEAPUsernameAndPassword(
|
|
207
|
+
ssidData: interop.Object,
|
|
208
|
+
username: interop.Object,
|
|
209
|
+
password: interop.Object,
|
|
210
|
+
): number
|
|
211
|
+
|
|
212
|
+
declare function CWKeychainDeleteEAPUsernameAndPassword(ssidData: interop.Object): number
|
|
213
|
+
|
|
214
|
+
declare function CWKeychainCopyEAPIdentity(
|
|
215
|
+
ssidData: interop.Object,
|
|
216
|
+
identity: interop.PointerConvertible,
|
|
217
|
+
): number
|
|
218
|
+
|
|
219
|
+
declare function CWKeychainSetEAPIdentity(
|
|
220
|
+
ssidData: interop.Object,
|
|
221
|
+
identity: interop.Object,
|
|
222
|
+
): number
|
|
223
|
+
|
|
224
|
+
declare function CWKeychainSetPassword(ssidData: interop.Object, password: interop.Object): number
|
|
225
|
+
|
|
226
|
+
declare function CWKeychainCopyPassword(
|
|
227
|
+
ssidData: interop.Object,
|
|
228
|
+
password: interop.PointerConvertible,
|
|
229
|
+
): number
|
|
230
|
+
|
|
231
|
+
declare function CWKeychainDeletePassword(ssidData: interop.Object): number
|
|
232
|
+
|
|
233
|
+
declare function CWMergeNetworks(networks: NSSet): NSSet
|
|
234
|
+
|
|
235
|
+
declare interface CWEventDelegate {
|
|
236
|
+
clientConnectionInterrupted?(): void
|
|
237
|
+
|
|
238
|
+
clientConnectionInvalidated?(): void
|
|
239
|
+
|
|
240
|
+
powerStateDidChangeForWiFiInterfaceWithName?(interfaceName: string): void
|
|
241
|
+
|
|
242
|
+
ssidDidChangeForWiFiInterfaceWithName?(interfaceName: string): void
|
|
243
|
+
|
|
244
|
+
bssidDidChangeForWiFiInterfaceWithName?(interfaceName: string): void
|
|
245
|
+
|
|
246
|
+
countryCodeDidChangeForWiFiInterfaceWithName?(interfaceName: string): void
|
|
247
|
+
|
|
248
|
+
linkDidChangeForWiFiInterfaceWithName?(interfaceName: string): void
|
|
249
|
+
|
|
250
|
+
linkQualityDidChangeForWiFiInterfaceWithNameRssiTransmitRate?(
|
|
251
|
+
interfaceName: string,
|
|
252
|
+
rssi: number,
|
|
253
|
+
transmitRate: number,
|
|
254
|
+
): void
|
|
255
|
+
|
|
256
|
+
modeDidChangeForWiFiInterfaceWithName?(interfaceName: string): void
|
|
257
|
+
|
|
258
|
+
scanCacheUpdatedForWiFiInterfaceWithName?(interfaceName: string): void
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class CWEventDelegate extends NativeObject implements CWEventDelegate {}
|
|
262
|
+
|
|
263
|
+
declare class CWChannel extends NSObject implements NSCopying, NSSecureCoding {
|
|
264
|
+
readonly channelNumber: number
|
|
265
|
+
|
|
266
|
+
readonly channelWidth: interop.Enum<typeof CWChannelWidth>
|
|
267
|
+
|
|
268
|
+
readonly channelBand: interop.Enum<typeof CWChannelBand>
|
|
269
|
+
|
|
270
|
+
isEqualToChannel(channel: CWChannel): boolean
|
|
271
|
+
|
|
272
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
273
|
+
|
|
274
|
+
static readonly supportsSecureCoding: boolean
|
|
275
|
+
|
|
276
|
+
encodeWithCoder(coder: NSCoder): void
|
|
277
|
+
|
|
278
|
+
initWithCoder(coder: NSCoder): this
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
declare class CWNetworkProfile
|
|
282
|
+
extends NSObject
|
|
283
|
+
implements NSCopying, NSMutableCopying, NSSecureCoding
|
|
284
|
+
{
|
|
285
|
+
readonly ssid: string
|
|
286
|
+
|
|
287
|
+
readonly ssidData: NSData
|
|
288
|
+
|
|
289
|
+
readonly security: interop.Enum<typeof CWSecurity>
|
|
290
|
+
|
|
291
|
+
static networkProfile<This extends abstract new (...args: any) => any>(
|
|
292
|
+
this: This,
|
|
293
|
+
): InstanceType<This>
|
|
294
|
+
|
|
295
|
+
init(): this
|
|
296
|
+
|
|
297
|
+
initWithNetworkProfile(networkProfile: CWNetworkProfile): this
|
|
298
|
+
|
|
299
|
+
static networkProfileWithNetworkProfile<This extends abstract new (...args: any) => any>(
|
|
300
|
+
this: This,
|
|
301
|
+
networkProfile: CWNetworkProfile,
|
|
302
|
+
): InstanceType<This>
|
|
303
|
+
|
|
304
|
+
isEqualToNetworkProfile(networkProfile: CWNetworkProfile): boolean
|
|
305
|
+
|
|
306
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
307
|
+
|
|
308
|
+
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
309
|
+
|
|
310
|
+
static readonly supportsSecureCoding: boolean
|
|
311
|
+
|
|
312
|
+
encodeWithCoder(coder: NSCoder): void
|
|
313
|
+
|
|
314
|
+
initWithCoder(coder: NSCoder): this
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
318
|
+
declare class CWMutableConfiguration extends CWConfiguration {
|
|
319
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
320
|
+
networkProfiles: NSOrderedSet
|
|
321
|
+
|
|
322
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
323
|
+
requireAdministratorForAssociation: boolean
|
|
324
|
+
|
|
325
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
326
|
+
requireAdministratorForPower: boolean
|
|
327
|
+
|
|
328
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
329
|
+
requireAdministratorForIBSSMode: boolean
|
|
330
|
+
|
|
331
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
332
|
+
rememberJoinedNetworks: boolean
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare class CWConfiguration
|
|
336
|
+
extends NSObject
|
|
337
|
+
implements NSCopying, NSMutableCopying, NSSecureCoding
|
|
338
|
+
{
|
|
339
|
+
readonly networkProfiles: NSOrderedSet
|
|
340
|
+
|
|
341
|
+
readonly requireAdministratorForAssociation: boolean
|
|
342
|
+
|
|
343
|
+
readonly requireAdministratorForPower: boolean
|
|
344
|
+
|
|
345
|
+
readonly requireAdministratorForIBSSMode: boolean
|
|
346
|
+
|
|
347
|
+
readonly rememberJoinedNetworks: boolean
|
|
348
|
+
|
|
349
|
+
static configuration<This extends abstract new (...args: any) => any>(
|
|
350
|
+
this: This,
|
|
351
|
+
): InstanceType<This>
|
|
352
|
+
|
|
353
|
+
init(): this
|
|
354
|
+
|
|
355
|
+
initWithConfiguration(configuration: CWConfiguration): this
|
|
356
|
+
|
|
357
|
+
static configurationWithConfiguration<This extends abstract new (...args: any) => any>(
|
|
358
|
+
this: This,
|
|
359
|
+
configuration: CWConfiguration,
|
|
360
|
+
): InstanceType<This>
|
|
361
|
+
|
|
362
|
+
isEqualToConfiguration(configuration: CWConfiguration): boolean
|
|
363
|
+
|
|
364
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
365
|
+
|
|
366
|
+
mutableCopyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
367
|
+
|
|
368
|
+
static readonly supportsSecureCoding: boolean
|
|
369
|
+
|
|
370
|
+
encodeWithCoder(coder: NSCoder): void
|
|
371
|
+
|
|
372
|
+
initWithCoder(coder: NSCoder): this
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
declare class CWInterface extends NSObject {
|
|
376
|
+
readonly interfaceName: string
|
|
377
|
+
|
|
378
|
+
powerOn(): boolean
|
|
379
|
+
|
|
380
|
+
supportedWLANChannels(): NSSet
|
|
381
|
+
|
|
382
|
+
wlanChannel(): CWChannel
|
|
383
|
+
|
|
384
|
+
activePHYMode(): interop.Enum<typeof CWPHYMode>
|
|
385
|
+
|
|
386
|
+
ssid(): string
|
|
387
|
+
|
|
388
|
+
ssidData(): NSData
|
|
389
|
+
|
|
390
|
+
bssid(): string
|
|
391
|
+
|
|
392
|
+
rssiValue(): number
|
|
393
|
+
|
|
394
|
+
noiseMeasurement(): number
|
|
395
|
+
|
|
396
|
+
security(): interop.Enum<typeof CWSecurity>
|
|
397
|
+
|
|
398
|
+
transmitRate(): number
|
|
399
|
+
|
|
400
|
+
countryCode(): string
|
|
401
|
+
|
|
402
|
+
interfaceMode(): interop.Enum<typeof CWInterfaceMode>
|
|
403
|
+
|
|
404
|
+
transmitPower(): number
|
|
405
|
+
|
|
406
|
+
hardwareAddress(): string
|
|
407
|
+
|
|
408
|
+
serviceActive(): boolean
|
|
409
|
+
|
|
410
|
+
cachedScanResults(): NSSet
|
|
411
|
+
|
|
412
|
+
configuration(): CWConfiguration
|
|
413
|
+
|
|
414
|
+
static interfaceNames(): NSSet
|
|
415
|
+
|
|
416
|
+
static interface<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>
|
|
417
|
+
|
|
418
|
+
static interfaceWithName<This extends abstract new (...args: any) => any>(
|
|
419
|
+
this: This,
|
|
420
|
+
name: string | null,
|
|
421
|
+
): InstanceType<This>
|
|
422
|
+
|
|
423
|
+
initWithInterfaceName(name: string | null): this
|
|
424
|
+
|
|
425
|
+
setPowerError(power: boolean, error: interop.PointerConvertible): boolean
|
|
426
|
+
|
|
427
|
+
setWLANChannelError(channel: CWChannel, error: interop.PointerConvertible): boolean
|
|
428
|
+
|
|
429
|
+
setPairwiseMasterKeyError(key: NSData | null, error: interop.PointerConvertible): boolean
|
|
430
|
+
|
|
431
|
+
setWEPKeyFlagsIndexError(
|
|
432
|
+
key: NSData | null,
|
|
433
|
+
flags: interop.Enum<typeof CWCipherKeyFlags>,
|
|
434
|
+
index: number,
|
|
435
|
+
error: interop.PointerConvertible,
|
|
436
|
+
): boolean
|
|
437
|
+
|
|
438
|
+
scanForNetworksWithSSIDError(ssid: NSData | null, error: interop.PointerConvertible): NSSet
|
|
439
|
+
|
|
440
|
+
scanForNetworksWithSSIDIncludeHiddenError(
|
|
441
|
+
ssid: NSData | null,
|
|
442
|
+
includeHidden: boolean,
|
|
443
|
+
error: interop.PointerConvertible,
|
|
444
|
+
): NSSet
|
|
445
|
+
|
|
446
|
+
scanForNetworksWithNameError(networkName: string | null, error: interop.PointerConvertible): NSSet
|
|
447
|
+
|
|
448
|
+
scanForNetworksWithNameIncludeHiddenError(
|
|
449
|
+
networkName: string | null,
|
|
450
|
+
includeHidden: boolean,
|
|
451
|
+
error: interop.PointerConvertible,
|
|
452
|
+
): NSSet
|
|
453
|
+
|
|
454
|
+
associateToNetworkPasswordError(
|
|
455
|
+
network: CWNetwork,
|
|
456
|
+
password: string | null,
|
|
457
|
+
error: interop.PointerConvertible,
|
|
458
|
+
): boolean
|
|
459
|
+
|
|
460
|
+
disassociate(): void
|
|
461
|
+
|
|
462
|
+
associateToEnterpriseNetworkIdentityUsernamePasswordError(
|
|
463
|
+
network: CWNetwork,
|
|
464
|
+
identity: interop.Object | null,
|
|
465
|
+
username: string | null,
|
|
466
|
+
password: string | null,
|
|
467
|
+
error: interop.PointerConvertible,
|
|
468
|
+
): boolean
|
|
469
|
+
|
|
470
|
+
startIBSSModeWithSSIDSecurityChannelPasswordError(
|
|
471
|
+
ssidData: NSData,
|
|
472
|
+
security: interop.Enum<typeof CWIBSSModeSecurity>,
|
|
473
|
+
channel: number,
|
|
474
|
+
password: string | null,
|
|
475
|
+
error: interop.PointerConvertible,
|
|
476
|
+
): boolean
|
|
477
|
+
|
|
478
|
+
commitConfigurationAuthorizationError(
|
|
479
|
+
configuration: CWConfiguration,
|
|
480
|
+
authorization: SFAuthorization | null,
|
|
481
|
+
error: interop.PointerConvertible,
|
|
482
|
+
): boolean
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
declare class CWWiFiClient extends NSObject {
|
|
486
|
+
delegate: interop.Object
|
|
487
|
+
|
|
488
|
+
static sharedWiFiClient(): CWWiFiClient
|
|
489
|
+
|
|
490
|
+
init(): this
|
|
491
|
+
|
|
492
|
+
interface(): CWInterface
|
|
493
|
+
|
|
494
|
+
static interfaceNames(): NSArray
|
|
495
|
+
|
|
496
|
+
interfaceWithName(interfaceName: string | null): CWInterface
|
|
497
|
+
|
|
498
|
+
interfaces(): NSArray
|
|
499
|
+
|
|
500
|
+
startMonitoringEventWithTypeError(
|
|
501
|
+
type: interop.Enum<typeof CWEventType>,
|
|
502
|
+
error: interop.PointerConvertible,
|
|
503
|
+
): boolean
|
|
504
|
+
|
|
505
|
+
stopMonitoringEventWithTypeError(
|
|
506
|
+
type: interop.Enum<typeof CWEventType>,
|
|
507
|
+
error: interop.PointerConvertible,
|
|
508
|
+
): boolean
|
|
509
|
+
|
|
510
|
+
stopMonitoringAllEventsAndReturnError(error: interop.PointerConvertible): boolean
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare class CWNetwork extends NSObject implements NSCopying, NSSecureCoding {
|
|
514
|
+
readonly ssid: string
|
|
515
|
+
|
|
516
|
+
readonly ssidData: NSData
|
|
517
|
+
|
|
518
|
+
readonly bssid: string
|
|
519
|
+
|
|
520
|
+
readonly wlanChannel: CWChannel
|
|
521
|
+
|
|
522
|
+
readonly rssiValue: number
|
|
523
|
+
|
|
524
|
+
readonly noiseMeasurement: number
|
|
525
|
+
|
|
526
|
+
readonly informationElementData: NSData
|
|
527
|
+
|
|
528
|
+
readonly countryCode: string
|
|
529
|
+
|
|
530
|
+
readonly beaconInterval: number
|
|
531
|
+
|
|
532
|
+
readonly ibss: boolean
|
|
533
|
+
|
|
534
|
+
isEqualToNetwork(network: CWNetwork): boolean
|
|
535
|
+
|
|
536
|
+
supportsSecurity(security: interop.Enum<typeof CWSecurity>): boolean
|
|
537
|
+
|
|
538
|
+
supportsPHYMode(phyMode: interop.Enum<typeof CWPHYMode>): boolean
|
|
539
|
+
|
|
540
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
541
|
+
|
|
542
|
+
static readonly supportsSecureCoding: boolean
|
|
543
|
+
|
|
544
|
+
encodeWithCoder(coder: NSCoder): void
|
|
545
|
+
|
|
546
|
+
initWithCoder(coder: NSCoder): this
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
// @ts-ignore ClassDecl.tsIgnore
|
|
550
|
+
declare class CWMutableNetworkProfile extends CWNetworkProfile {
|
|
551
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
552
|
+
ssidData: NSData
|
|
553
|
+
|
|
554
|
+
// @ts-ignore MemberDecl.tsIgnore
|
|
555
|
+
security: interop.Enum<typeof CWSecurity>
|
|
556
|
+
}
|