@octane-xplat/macos-renderer 0.14.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.
Files changed (222) hide show
  1. package/README.md +95 -20
  2. package/package.json +15 -2
  3. package/src/appearance.ts +2 -0
  4. package/src/fonts.ts +2 -0
  5. package/src/formatted-text.ts +147 -0
  6. package/src/gestures.ts +196 -0
  7. package/src/host-globals.d.ts +55 -0
  8. package/src/html-text.ts +88 -0
  9. package/src/image.ts +91 -16
  10. package/src/index.d.ts +9 -0
  11. package/src/index.ts +5030 -678
  12. package/src/layer.ts +11 -9
  13. package/src/list-template.ts +266 -0
  14. package/src/list-view.ts +445 -0
  15. package/src/portal-components.macos.tsx +86 -0
  16. package/src/presentation.ts +48 -15
  17. package/src/scroll-view.ts +124 -0
  18. package/src/tab-view.ts +512 -0
  19. package/src/template-props.ts +402 -0
  20. package/src/vendor/listview/LICENSE +19 -0
  21. package/src/vendor/listview/README.md +1 -0
  22. package/src/vendor/listview/binding-options.ts +189 -0
  23. package/src/vendor/listview/expressions.ts +285 -0
  24. package/src/webview.ts +36 -7
  25. package/types/ARKitCore.d.ts +199 -0
  26. package/types/AVFAudio.d.ts +2304 -0
  27. package/types/AVFoundation.d.ts +6974 -0
  28. package/types/AVKit.d.ts +215 -0
  29. package/types/AVRouting.d.ts +7 -0
  30. package/types/Accelerate.d.ts +4776 -0
  31. package/types/Accessibility.d.ts +69 -0
  32. package/types/Accounts.d.ts +134 -0
  33. package/types/AdSupport.d.ts +12 -0
  34. package/types/AddressBook.d.ts +1012 -0
  35. package/types/AppKit.d.ts +34247 -0
  36. package/types/AppTrackingTransparency.d.ts +23 -0
  37. package/types/AppleScriptKit.d.ts +6 -0
  38. package/types/ApplicationServices.d.ts +6346 -0
  39. package/types/AudioToolbox.d.ts +7129 -0
  40. package/types/AudioVideoBridging.d.ts +613 -0
  41. package/types/AuthenticationServices.d.ts +982 -0
  42. package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
  43. package/types/Automator.d.ts +248 -0
  44. package/types/BackgroundAssets.d.ts +9 -0
  45. package/types/BrowserEngineKit.d.ts +166 -0
  46. package/types/BusinessChat.d.ts +29 -0
  47. package/types/CFNetwork.d.ts +931 -0
  48. package/types/CalendarStore.d.ts +354 -0
  49. package/types/CallKit.d.ts +30 -0
  50. package/types/Carbon.d.ts +16207 -0
  51. package/types/ClassKit.d.ts +281 -0
  52. package/types/CloudKit.d.ts +1565 -0
  53. package/types/Collaboration.d.ts +123 -0
  54. package/types/ColorSync.d.ts +562 -0
  55. package/types/CompositorServices.d.ts +60 -0
  56. package/types/ComputeGraph.d.ts +16 -0
  57. package/types/Contacts.d.ts +1558 -0
  58. package/types/ContactsUI.d.ts +39 -0
  59. package/types/CoreAudio.d.ts +1376 -0
  60. package/types/CoreAudioKit.d.ts +122 -0
  61. package/types/CoreAudioTypes.d.ts +1003 -0
  62. package/types/CoreBluetooth.d.ts +657 -0
  63. package/types/CoreData.d.ts +2479 -0
  64. package/types/CoreFoundation.d.ts +5546 -0
  65. package/types/CoreGraphics.d.ts +3676 -0
  66. package/types/CoreHaptics.d.ts +361 -0
  67. package/types/CoreImage.d.ts +4781 -0
  68. package/types/CoreLocation.d.ts +564 -0
  69. package/types/CoreMIDI.d.ts +1538 -0
  70. package/types/CoreML.d.ts +905 -0
  71. package/types/CoreMedia.d.ts +2615 -0
  72. package/types/CoreMediaIO.d.ts +1046 -0
  73. package/types/CoreMotion.d.ts +316 -0
  74. package/types/CoreServices.d.ts +24810 -0
  75. package/types/CoreSpotlight.d.ts +789 -0
  76. package/types/CoreTelephony.d.ts +31 -0
  77. package/types/CoreText.d.ts +3973 -0
  78. package/types/CoreTransferable.d.ts +3 -0
  79. package/types/CoreVideo.d.ts +1162 -0
  80. package/types/CoreWLAN.d.ts +556 -0
  81. package/types/CryptoTokenKit.d.ts +548 -0
  82. package/types/DVDPlayback.d.ts +931 -0
  83. package/types/DataDetection.d.ts +66 -0
  84. package/types/DeviceCheck.d.ts +46 -0
  85. package/types/DeviceDiscoveryExtension.d.ts +142 -0
  86. package/types/DirectoryService.d.ts +966 -0
  87. package/types/DiscRecording.d.ts +2345 -0
  88. package/types/DiscRecordingUI.d.ts +288 -0
  89. package/types/DiskArbitration.d.ts +366 -0
  90. package/types/DriverKit.d.ts +639 -0
  91. package/types/EventKit.d.ts +640 -0
  92. package/types/ExceptionHandling.d.ts +56 -0
  93. package/types/ExecutionPolicy.d.ts +30 -0
  94. package/types/ExternalAccessory.d.ts +98 -0
  95. package/types/FSKit.d.ts +237 -0
  96. package/types/FileProvider.d.ts +495 -0
  97. package/types/FileProviderUI.d.ts +31 -0
  98. package/types/FinderSync.d.ts +165 -0
  99. package/types/FocusEngine.d.ts +133 -0
  100. package/types/ForceFeedback.d.ts +399 -0
  101. package/types/Foundation.d.ts +18216 -0
  102. package/types/GLKit.d.ts +937 -0
  103. package/types/GLUT.d.ts +1018 -0
  104. package/types/GSS.d.ts +855 -0
  105. package/types/GameController.d.ts +1394 -0
  106. package/types/GameKit.d.ts +1958 -0
  107. package/types/GameSave.d.ts +54 -0
  108. package/types/GameplayKit.d.ts +1645 -0
  109. package/types/HealthKit.d.ts +278 -0
  110. package/types/Hypervisor.d.ts +2079 -0
  111. package/types/ICADevices.d.ts +1400 -0
  112. package/types/IOBluetooth.d.ts +6094 -0
  113. package/types/IOBluetoothUI.d.ts +250 -0
  114. package/types/IOKit.d.ts +25804 -0
  115. package/types/IOSurface.d.ts +435 -0
  116. package/types/IOUSBHost.d.ts +809 -0
  117. package/types/ImageCaptureCore.d.ts +1104 -0
  118. package/types/ImageIO.d.ts +1697 -0
  119. package/types/InputMethodKit.d.ts +264 -0
  120. package/types/InstallerPlugins.d.ts +102 -0
  121. package/types/InstantMessage.d.ts +229 -0
  122. package/types/Intents.d.ts +1833 -0
  123. package/types/IntentsUI.d.ts +5 -0
  124. package/types/JavaRuntimeSupport.d.ts +520 -0
  125. package/types/JavaScriptCore.d.ts +934 -0
  126. package/types/Kerberos.d.ts +3754 -0
  127. package/types/Kernel.d.ts +33698 -0
  128. package/types/KernelManagement.d.ts +5 -0
  129. package/types/LatentSemanticMapping.d.ts +152 -0
  130. package/types/LinkPresentation.d.ts +57 -0
  131. package/types/LocalAuthentication.d.ts +94 -0
  132. package/types/MLCompute.d.ts +2343 -0
  133. package/types/MapKit.d.ts +2125 -0
  134. package/types/Matter.d.ts +151 -0
  135. package/types/MediaAccessibility.d.ts +137 -0
  136. package/types/MediaLibrary.d.ts +394 -0
  137. package/types/MediaPlayer.d.ts +475 -0
  138. package/types/MediaToolbox.d.ts +70 -0
  139. package/types/Metal.d.ts +4542 -0
  140. package/types/MetalFX.d.ts +107 -0
  141. package/types/MetalKit.d.ts +524 -0
  142. package/types/MetalPerformanceShaders.d.ts +9306 -0
  143. package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
  144. package/types/MetricKit.d.ts +231 -0
  145. package/types/ModelIO.d.ts +2908 -0
  146. package/types/MultipeerConnectivity.d.ts +348 -0
  147. package/types/NaturalLanguage.d.ts +556 -0
  148. package/types/NearbyInteraction.d.ts +51 -0
  149. package/types/NetFS.d.ts +99 -0
  150. package/types/Network.d.ts +1622 -0
  151. package/types/NetworkExtension.d.ts +1574 -0
  152. package/types/NotificationCenter.d.ts +103 -0
  153. package/types/OSAKit.d.ts +260 -0
  154. package/types/OSLog.d.ts +208 -0
  155. package/types/OpenAL.d.ts +314 -0
  156. package/types/OpenCL.d.ts +2489 -0
  157. package/types/OpenDirectory.d.ts +1919 -0
  158. package/types/OpenGL.d.ts +11322 -0
  159. package/types/PCSC.d.ts +534 -0
  160. package/types/PDFKit.d.ts +1575 -0
  161. package/types/PHASE.d.ts +166 -0
  162. package/types/ParavirtualizedGraphics.d.ts +153 -0
  163. package/types/PassKit.d.ts +1287 -0
  164. package/types/PencilKit.d.ts +201 -0
  165. package/types/Photos.d.ts +1125 -0
  166. package/types/PhotosUI.d.ts +397 -0
  167. package/types/PreferencePanes.d.ts +68 -0
  168. package/types/ProximityReaderStub.d.ts +5 -0
  169. package/types/PushKit.d.ts +45 -0
  170. package/types/Quartz.d.ts +1642 -0
  171. package/types/QuartzCore.d.ts +1398 -0
  172. package/types/QuickLook.d.ts +212 -0
  173. package/types/QuickLookThumbnailing.d.ts +131 -0
  174. package/types/QuickLookUI.d.ts +117 -0
  175. package/types/REVISION.json +5 -0
  176. package/types/ReplayKit.d.ts +294 -0
  177. package/types/Runtime.d.ts +51605 -0
  178. package/types/SafariServices.d.ts +430 -0
  179. package/types/SafetyKit.d.ts +7 -0
  180. package/types/SceneKit.d.ts +4996 -0
  181. package/types/ScreenCaptureKit.d.ts +16 -0
  182. package/types/ScreenSaver.d.ts +41 -0
  183. package/types/ScreenTime.d.ts +41 -0
  184. package/types/ScriptingBridge.d.ts +96 -0
  185. package/types/Security.d.ts +14336 -0
  186. package/types/SecurityFoundation.d.ts +53 -0
  187. package/types/SecurityInterface.d.ts +297 -0
  188. package/types/SensorKit.d.ts +7 -0
  189. package/types/ServiceManagement.d.ts +71 -0
  190. package/types/SharedWithYou.d.ts +9 -0
  191. package/types/SharedWithYouCore.d.ts +5 -0
  192. package/types/ShazamKit.d.ts +12 -0
  193. package/types/Social.d.ts +306 -0
  194. package/types/SoundAnalysis.d.ts +177 -0
  195. package/types/Speech.d.ts +246 -0
  196. package/types/SpriteKit.d.ts +2766 -0
  197. package/types/StoreKit.d.ts +509 -0
  198. package/types/SyncServices.d.ts +551 -0
  199. package/types/SystemConfiguration.d.ts +1415 -0
  200. package/types/SystemExtensions.d.ts +89 -0
  201. package/types/TWAIN.d.ts +380 -0
  202. package/types/Tcl.d.ts +4013 -0
  203. package/types/ThreadNetwork.d.ts +77 -0
  204. package/types/Tk.d.ts +3750 -0
  205. package/types/UIUtilities.d.ts +31 -0
  206. package/types/UniformTypeIdentifiers.d.ts +358 -0
  207. package/types/UserNotifications.d.ts +538 -0
  208. package/types/UserNotificationsUI.d.ts +38 -0
  209. package/types/VideoDecodeAcceleration.d.ts +50 -0
  210. package/types/VideoSubscriberAccount.d.ts +139 -0
  211. package/types/VideoToolbox.d.ts +907 -0
  212. package/types/Virtualization.d.ts +302 -0
  213. package/types/Vision.d.ts +1723 -0
  214. package/types/WebKit.d.ts +5195 -0
  215. package/types/WidgetKit.d.ts +9 -0
  216. package/types/_LocationEssentials.d.ts +159 -0
  217. package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
  218. package/types/iTunesLibrary.d.ts +528 -0
  219. package/types/index.d.ts +9 -0
  220. package/types/vecLib.d.ts +33586 -0
  221. package/types/vmnet.d.ts +178 -0
  222. package/src/appkit.d.ts +0 -472
@@ -0,0 +1,613 @@
1
+ /// <reference types="@nativescript/objc-node-api" />
2
+ /// <reference path="./Runtime.d.ts" />
3
+
4
+ declare const AVBErrorDomain: string
5
+
6
+ declare const AVBNullEUI64: number
7
+
8
+ declare const AVB17221EntityPropertyChanged: {
9
+ TimeToLive: 1
10
+ GUID: 2
11
+ EntityID: 2
12
+ VendorID: 4
13
+ ModelID: 8
14
+ EntityCapabilities: 16
15
+ TalkerStreamSources: 32
16
+ TalkerCapabilities: 64
17
+ ListenerStreamSinks: 128
18
+ ListenerCapabilities: 256
19
+ ControllerCapabilities: 512
20
+ AvailableIndex: 1024
21
+ ASGrandmasterID: 2048
22
+ GPTPGrandmasterID: 2048
23
+ MACAddress: 4096
24
+ AssociationID: 32768
25
+ EntityType: 65536
26
+ IdentifyControlIndex: 131072
27
+ InterfaceIndex: 262144
28
+ GPTPDomainNumber: 524288
29
+ }
30
+
31
+ declare const AVB17221AECPAddressAccessTLVMode: {
32
+ Read: 0
33
+ Write: 1
34
+ Execute: 2
35
+ }
36
+
37
+ declare const AVB17221ACMPFlags: {
38
+ None: 0
39
+ ClassB: 1
40
+ FastConnect: 2
41
+ SavedState: 4
42
+ StreamingWait: 8
43
+ SupportsEncrypted: 16
44
+ EncryptedPDU: 32
45
+ StreamingTalkerFailed: 64
46
+ }
47
+
48
+ declare const AVB17221AECPStatusCode: {
49
+ Success: 0
50
+ NotImplemented: 1
51
+ NoSuchDescriptor: 2
52
+ EntityLocked: 3
53
+ EntityAcquired: 4
54
+ NotAuthorized: 5
55
+ InsufficientPrivileges: 6
56
+ BadArguments: 7
57
+ NoResources: 8
58
+ InProgress: 9
59
+ EntityMisbehaving: 10
60
+ NotSupported: 11
61
+ StreamIsRunning: 12
62
+ AddressAccessAddressTooLow: 2
63
+ AddressAccessAddressTooHigh: 3
64
+ AddressAccessAddressInvalid: 4
65
+ AddressAccessTLVInvalid: 5
66
+ AddressAccessDataInvalid: 6
67
+ AddressAccessUnsupported: 7
68
+ AVCFailure: 2
69
+ }
70
+
71
+ declare const AVB17221AECPMessageType: {
72
+ AEMCommand: 0
73
+ AEMResponse: 1
74
+ AddressAccessCommand: 2
75
+ AddressAccessResponse: 3
76
+ LegacyAVCCommand: 4
77
+ LegacyAVCResponse: 5
78
+ VendorUniqueCommand: 6
79
+ VendorUniqueResponse: 7
80
+ }
81
+
82
+ declare const AVB17221ADPControllerCapabilities: {
83
+ AVB17221ADPControllerCapabilitiesImplemented: 1
84
+ }
85
+
86
+ declare const AVB17221ADPTalkerCapabilities: {
87
+ Implemented: 1
88
+ HasOtherSource: 512
89
+ HasControlSource: 1024
90
+ HasMediaClockSource: 2048
91
+ HasSMPTESource: 4096
92
+ HasMIDISource: 8192
93
+ HasAudioSource: 16384
94
+ HasVideoSource: -32768
95
+ }
96
+
97
+ declare const AVB17221ACMPStatusCode: {
98
+ Success: 0
99
+ ListenerUnknownID: 1
100
+ TalkerUnknownID: 2
101
+ TalkerDestMACFail: 3
102
+ TalkerNoStreamIndex: 4
103
+ TalkerNoBandwidth: 5
104
+ TalkerExclusive: 6
105
+ ListenerTalkerTimeout: 7
106
+ ListenerExclusive: 8
107
+ StateUnavailable: 9
108
+ NotConnected: 10
109
+ NoSuchConnection: 11
110
+ UnableToSendMessage: 12
111
+ TalkerMisbehaving: 13
112
+ ListenerMisbehaving: 14
113
+ SRPFace: 15
114
+ ControllerNotAuthorized: 16
115
+ IncompatibleRequest: 17
116
+ NotSupported: 31
117
+ }
118
+
119
+ declare const AVB17221ACMPMessageType: {
120
+ ConnectTXCommand: 0
121
+ ConnectTXResponse: 1
122
+ DisconnectTXCommand: 2
123
+ DisconnectTXResponse: 3
124
+ GetTXStateCommand: 4
125
+ GetTXStateResponse: 5
126
+ ConnectRXCommand: 6
127
+ ConnectRXResponse: 7
128
+ DisconnectRXCommand: 8
129
+ DisconnectRXResponse: 9
130
+ GetRXStateCommand: 10
131
+ GetRXStateResponse: 11
132
+ GetTXConnectionCommand: 12
133
+ GetTXConnectionResponse: 13
134
+ }
135
+
136
+ declare const AVB17221ADPListenerCapabilities: {
137
+ Implemented: 1
138
+ HasOtherSink: 512
139
+ HasControlSink: 1024
140
+ HasMediaClockSink: 2048
141
+ HasSMPTESink: 4096
142
+ HasMIDISink: 8192
143
+ HasAudioSink: 16384
144
+ HasVideoSink: -32768
145
+ }
146
+
147
+ declare const AVB17221AEMCommandType: {
148
+ AcquireEntity: 0
149
+ LockEntity: 1
150
+ EntityAvailable: 2
151
+ ControllerAvailable: 3
152
+ ReadDescriptor: 4
153
+ WriteDescriptor: 5
154
+ SetConfiguration: 6
155
+ GetConfiguration: 7
156
+ SetStreamFormat: 8
157
+ GetStreamFormat: 9
158
+ SetVideoFormat: 10
159
+ GetVideoFormat: 11
160
+ SetSensorFormat: 12
161
+ GetSensorFormat: 13
162
+ SetStreamInfo: 14
163
+ GetStreamInfo: 15
164
+ SetName: 16
165
+ GetName: 17
166
+ SetAssociationID: 18
167
+ GetAssociationID: 19
168
+ SetSamplingRate: 20
169
+ GetSamplingRate: 21
170
+ SetClockSource: 22
171
+ GetClockSource: 23
172
+ SetControl: 24
173
+ GetControl: 25
174
+ IncrementControl: 26
175
+ DecrementControl: 27
176
+ SetSignalSelector: 28
177
+ GetSignalSelector: 29
178
+ SetMixer: 30
179
+ GetMixer: 31
180
+ SetMatrix: 32
181
+ GetMatrix: 33
182
+ StartStreaming: 34
183
+ StopStreaming: 35
184
+ RegisterUnsolicitedNotification: 36
185
+ DeregisterUnsolicitedNotification: 37
186
+ IdentifyNotification: 38
187
+ GetAVBInfo: 39
188
+ GetASPath: 40
189
+ GetCounters: 41
190
+ Reboot: 42
191
+ GetAudioMap: 43
192
+ AddAudioMapping: 44
193
+ RemoveAudioMapping: 45
194
+ GetVideoMap: 46
195
+ AddVideoMapping: 47
196
+ RemoveVideoMapping: 48
197
+ GetSensorMap: 49
198
+ AddSensorMapping: 50
199
+ RemoveSensorMapping: 51
200
+ StartOperation: 52
201
+ AbortOperation: 53
202
+ OperationStatus: 54
203
+ AuthenticationAddKey: 55
204
+ AuthenticationDeleteKey: 56
205
+ AuthenticationGetKeyList: 57
206
+ AuthenticationGetKey: 58
207
+ AuthenticationAddKeyToChain: 59
208
+ AuthenticationDeleteKeyFromChain: 60
209
+ AuthenticationGetKeychainList: 61
210
+ AuthenticationGetIdentity: 62
211
+ AuthenticationAddToken: 63
212
+ AuthenticationDeleteToken: 64
213
+ Authenticate: 65
214
+ Deauthenticate: 66
215
+ EnableTransportSecurity: 67
216
+ DisableTransportSecurity: 68
217
+ EnableStreamEncryption: 69
218
+ DisableStreamEncryption: 70
219
+ SetMemoryObjectLength: 71
220
+ GetMemoryObjectLength: 72
221
+ SetStreamBackup: 73
222
+ GetStreamBackup: 74
223
+ }
224
+
225
+ declare const AVB17221ADPEntityCapabilities: {
226
+ DFUMode: 1
227
+ EFUMode: 1
228
+ AddressAccessSupported: 2
229
+ GatewayEntity: 4
230
+ AEMSupported: 8
231
+ LegacyAVC: 16
232
+ AssociationIDSupported: 32
233
+ AssociationIDValid: 64
234
+ VendorUniqueSupported: 128
235
+ ClassASupported: 256
236
+ ClassBSupported: 512
237
+ ASSupported: 1024
238
+ GPTPSupported: 1024
239
+ AEMAuthenticationSupported: 2048
240
+ AEMAuthenticationRequired: 4096
241
+ AEMPersistentAcquireSupported: 8192
242
+ AEMIdenitifyControlIndexValid: 16384
243
+ AEMInterfaceIndexValid: 32768
244
+ GeneralControllerIgnore: 65536
245
+ EntityNotReady: 131072
246
+ }
247
+
248
+ declare interface AVB17221ACMPClient {
249
+ ACMPDidReceiveCommandOnInterface(
250
+ message: AVB17221ACMPMessage,
251
+ anInterface: AVB17221ACMPInterface,
252
+ ): boolean
253
+
254
+ ACMPDidReceiveResponseOnInterface(
255
+ message: AVB17221ACMPMessage,
256
+ anInterface: AVB17221ACMPInterface,
257
+ ): boolean
258
+ }
259
+
260
+ declare class AVB17221ACMPClient extends NativeObject implements AVB17221ACMPClient {}
261
+
262
+ declare interface AVB17221EntityDiscoveryDelegate {
263
+ didAddRemoteEntityOn17221EntityDiscovery(
264
+ newEntity: AVB17221Entity,
265
+ entityDiscovery: AVB17221EntityDiscovery,
266
+ ): void
267
+
268
+ didRemoveRemoteEntityOn17221EntityDiscovery(
269
+ oldEntity: AVB17221Entity,
270
+ entityDiscovery: AVB17221EntityDiscovery,
271
+ ): void
272
+
273
+ didRediscoverRemoteEntityOn17221EntityDiscovery(
274
+ entity: AVB17221Entity,
275
+ entityDiscovery: AVB17221EntityDiscovery,
276
+ ): void
277
+
278
+ didUpdateRemoteEntityChangedPropertiesOn17221EntityDiscovery(
279
+ entity: AVB17221Entity,
280
+ changedProperties: interop.Enum<typeof AVB17221EntityPropertyChanged>,
281
+ entityDiscovery: AVB17221EntityDiscovery,
282
+ ): void
283
+
284
+ didAddLocalEntityOn17221EntityDiscovery(
285
+ newEntity: AVB17221Entity,
286
+ entityDiscovery: AVB17221EntityDiscovery,
287
+ ): void
288
+
289
+ didRemoveLocalEntityOn17221EntityDiscovery(
290
+ oldEntity: AVB17221Entity,
291
+ entityDiscovery: AVB17221EntityDiscovery,
292
+ ): void
293
+
294
+ didRediscoverLocalEntityOn17221EntityDiscovery(
295
+ entity: AVB17221Entity,
296
+ entityDiscovery: AVB17221EntityDiscovery,
297
+ ): void
298
+
299
+ didUpdateLocalEntityChangedPropertiesOn17221EntityDiscovery(
300
+ entity: AVB17221Entity,
301
+ changedProperties: interop.Enum<typeof AVB17221EntityPropertyChanged>,
302
+ entityDiscovery: AVB17221EntityDiscovery,
303
+ ): void
304
+ }
305
+
306
+ declare class AVB17221EntityDiscoveryDelegate
307
+ extends NativeObject
308
+ implements AVB17221EntityDiscoveryDelegate {}
309
+
310
+ declare interface AVB17221AECPClient {
311
+ AECPDidReceiveCommandOnInterface(
312
+ message: AVB17221AECPMessage,
313
+ anInterface: AVB17221AECPInterface,
314
+ ): boolean
315
+
316
+ AECPDidReceiveResponseOnInterface(
317
+ message: AVB17221AECPMessage,
318
+ anInterface: AVB17221AECPInterface,
319
+ ): boolean
320
+ }
321
+
322
+ declare class AVB17221AECPClient extends NativeObject implements AVB17221AECPClient {}
323
+
324
+ declare class AVB17221AECPInterface extends AVB1722ControlInterface {
325
+ static AECPInterfaceWithInterface(anInterface: AVBInterface): AVB17221AECPInterface
326
+
327
+ static AECPInterfaceWithInterfaceNamed(anInterfaceName: string): AVB17221AECPInterface
328
+
329
+ setCommandHandlerForEntityID(handler: AVB17221AECPClient, targetEntityID: number): boolean
330
+
331
+ removeCommandHandlerForEntityID(targetEntityID: number): void
332
+
333
+ setResponseHandlerForControllerEntityID(
334
+ handler: AVB17221AECPClient,
335
+ controllerEntityID: number,
336
+ ): boolean
337
+
338
+ removeResponseHandlerForControllerEntityID(controllerEntityID: number): void
339
+
340
+ sendCommandToMACAddressCompletionHandler(
341
+ message: AVB17221AECPMessage,
342
+ destMAC: AVBMACAddress,
343
+ completionHandler: (p1: NSError, p2: AVB17221AECPMessage) => void,
344
+ ): boolean
345
+
346
+ sendResponseToMACAddressError(
347
+ message: AVB17221AECPMessage,
348
+ destMAC: AVBMACAddress,
349
+ error: interop.PointerConvertible,
350
+ ): boolean
351
+ }
352
+
353
+ declare class AVB17221AECPAVCMessage extends AVB17221AECPMessage {
354
+ commandResponse: NSData
355
+ }
356
+
357
+ declare class AVB17221AECPAddressAccessMessage extends AVB17221AECPMessage {
358
+ get tlvs(): NSArray
359
+ set tlvs(value: NSArray<interop.Object> | Array<interop.Object>)
360
+
361
+ static commandMessage(): AVB17221AECPAddressAccessMessage
362
+
363
+ static responseMessage(): AVB17221AECPAddressAccessMessage
364
+ }
365
+
366
+ declare class AVBMACAddress extends NSObject implements NSCopying {
367
+ initWithBytes(bytes: interop.PointerConvertible): this
368
+
369
+ readonly bytes: interop.Pointer
370
+
371
+ dataRepresentation: NSData
372
+
373
+ stringRepresentation: string
374
+
375
+ multicast: boolean
376
+
377
+ isMulticast(): boolean
378
+
379
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
380
+ }
381
+
382
+ declare class AVBEthernetInterface extends AVBInterface {}
383
+
384
+ declare class AVBCentralManager extends NSObject {
385
+ startControllerMatching(): void
386
+
387
+ didAddInterface(interface: AVBInterface): void
388
+
389
+ didRemoveInterface(interface: AVBInterface): void
390
+
391
+ streamingEnabledInterfacesOnly(): boolean
392
+
393
+ static nextAvailableDynamicEntityID(): number
394
+
395
+ static releaseDynamicEntityID(entityID: number): void
396
+
397
+ static nextAvailableDynamicEntityModelID(): number
398
+
399
+ static releaseDynamicEntityModelID(entityModelID: number): void
400
+ }
401
+
402
+ declare class AVB17221AECPVendorMessage extends AVB17221AECPMessage {
403
+ protocolID: number
404
+
405
+ protocolSpecificData: NSData
406
+ }
407
+
408
+ declare class AVBInterface extends NSObject {
409
+ readonly interfaceName: string
410
+
411
+ readonly entityDiscovery: AVB17221EntityDiscovery
412
+
413
+ readonly aecp: AVB17221AECPInterface
414
+
415
+ readonly acmp: AVB17221ACMPInterface
416
+
417
+ static macAddressForInterfaceNamed(anInterfaceName: string): AVBMACAddress
418
+
419
+ static supportedInterfaces(): NSArray
420
+
421
+ static isAVBEnabledOnInterfaceNamed(anInterfaceName: string): boolean
422
+
423
+ static isAVBCapableInterfaceNamed(anInterfaceName: string): boolean
424
+
425
+ initWithInterfaceName(anInterfaceName: string): this
426
+
427
+ static myEntityID(): number
428
+ }
429
+
430
+ declare class AVB17221ACMPMessage extends NSObject implements NSCopying {
431
+ messageType: interop.Enum<typeof AVB17221ACMPMessageType>
432
+
433
+ status: interop.Enum<typeof AVB17221ACMPStatusCode>
434
+
435
+ streamID: number
436
+
437
+ controllerEntityID: number
438
+
439
+ talkerEntityID: number
440
+
441
+ listenerEntityID: number
442
+
443
+ talkerUniqueID: number
444
+
445
+ listenerUniqueID: number
446
+
447
+ destinationMAC: AVBMACAddress
448
+
449
+ connectionCount: number
450
+
451
+ sequenceID: number
452
+
453
+ flags: interop.Enum<typeof AVB17221ACMPFlags>
454
+
455
+ vlanID: number
456
+
457
+ sourceMAC: AVBMACAddress
458
+
459
+ static errorForStatusCode(statusCode: interop.Enum<typeof AVB17221ACMPStatusCode>): NSError
460
+
461
+ errorForStatusCode(): NSError
462
+
463
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
464
+ }
465
+
466
+ declare class AVB17221Entity extends NSObject {
467
+ localEntity: boolean
468
+
469
+ timeToLive: number
470
+
471
+ entityID: number
472
+
473
+ entityModelID: number
474
+
475
+ entityCapabilities: interop.Enum<typeof AVB17221ADPEntityCapabilities>
476
+
477
+ talkerStreamSources: number
478
+
479
+ talkerCapabilities: interop.Enum<typeof AVB17221ADPTalkerCapabilities>
480
+
481
+ listenerStreamSinks: number
482
+
483
+ listenerCapabilities: interop.Enum<typeof AVB17221ADPListenerCapabilities>
484
+
485
+ controllerCapabilities: interop.Enum<typeof AVB17221ADPControllerCapabilities>
486
+
487
+ availableIndex: number
488
+
489
+ gPTPGrandmasterID: number
490
+
491
+ gPTPDomainNumber: number
492
+
493
+ identifyControlIndex: number
494
+
495
+ interfaceIndex: number
496
+
497
+ associationID: number
498
+
499
+ get macAddresses(): NSArray
500
+ set macAddresses(value: NSArray<interop.Object> | Array<interop.Object>)
501
+
502
+ entityDiscovery: AVB17221EntityDiscovery
503
+
504
+ isLocalEntity(): boolean
505
+ }
506
+
507
+ declare class AVB17221ACMPInterface extends AVB1722ControlInterface {
508
+ readonly multicastDestinationAddress: AVBMACAddress
509
+
510
+ static ACMPInterfaceWithInterface(anInterface: AVBInterface): AVB17221ACMPInterface
511
+
512
+ static ACMPInterfaceWithInterfaceNamed(anInterfaceName: string): AVB17221ACMPInterface
513
+
514
+ setHandlerForEntityID(handler: AVB17221ACMPClient, targetEntityID: number): boolean
515
+
516
+ removeHandlerForEntityID(targetEntityID: number): void
517
+
518
+ sendACMPResponseMessageError(
519
+ message: AVB17221ACMPMessage,
520
+ error: interop.PointerConvertible,
521
+ ): boolean
522
+
523
+ sendACMPCommandMessageCompletionHandler(
524
+ message: AVB17221ACMPMessage,
525
+ completionHandler: (p1: NSError, p2: AVB17221ACMPMessage) => void,
526
+ ): boolean
527
+ }
528
+
529
+ declare class AVB1722ControlInterface extends NSObject {
530
+ readonly interfaceName: string
531
+
532
+ readonly interface: AVBInterface
533
+
534
+ initWithInterfaceName(anInterfaceName: string): this
535
+
536
+ initWithInterface(anInterface: AVBInterface): this
537
+ }
538
+
539
+ declare class AVB17221AECPAddressAccessTLV extends NSObject {
540
+ mode: interop.Enum<typeof AVB17221AECPAddressAccessTLVMode>
541
+
542
+ address: number
543
+
544
+ memoryData: NSData
545
+ }
546
+
547
+ declare class AVB17221EntityDiscovery extends NSObject {
548
+ interfaceName: string
549
+
550
+ readonly interface: AVBInterface
551
+
552
+ discoveryDelegate: AVB17221EntityDiscoveryDelegate
553
+
554
+ initWithInterfaceName(anInterfaceName: string): this
555
+
556
+ primeIterators(): void
557
+
558
+ discoverEntities(): boolean
559
+
560
+ discoverEntity(entityID: number): boolean
561
+
562
+ addLocalEntityError(anEntity: AVB17221Entity, error: interop.PointerConvertible): boolean
563
+
564
+ removeLocalEntityError(guid: number, error: interop.PointerConvertible): boolean
565
+
566
+ changeEntityWithEntityIDToNewGPTPGrandmasterIDError(
567
+ entityID: number,
568
+ gPTPGrandmasterID: number,
569
+ error: interop.PointerConvertible,
570
+ ): boolean
571
+ }
572
+
573
+ declare class AVB17221AECPMessage extends NSObject implements NSCopying {
574
+ messageType: interop.Enum<typeof AVB17221AECPMessageType>
575
+
576
+ status: interop.Enum<typeof AVB17221AECPStatusCode>
577
+
578
+ targetEntityID: number
579
+
580
+ controllerEntityID: number
581
+
582
+ sequenceID: number
583
+
584
+ sourceMAC: AVBMACAddress
585
+
586
+ static errorForStatusCode(statusCode: interop.Enum<typeof AVB17221AECPStatusCode>): NSError
587
+
588
+ errorForStatusCode(): NSError
589
+
590
+ copyWithZone(zone: interop.PointerConvertible): interop.Object
591
+ }
592
+
593
+ declare class AVB17221AECPAEMMessage extends AVB17221AECPMessage {
594
+ commandType: interop.Enum<typeof AVB17221AEMCommandType>
595
+
596
+ unsolicited: boolean
597
+
598
+ controllerRequest: boolean
599
+
600
+ commandSpecificData: NSData
601
+
602
+ static commandMessage(): AVB17221AECPAEMMessage
603
+
604
+ static responseMessage(): AVB17221AECPAEMMessage
605
+
606
+ static responseMessageFromCommandMessage(
607
+ commandMessage: AVB17221AECPAEMMessage,
608
+ ): AVB17221AECPAEMMessage
609
+
610
+ isUnsolicited(): boolean
611
+
612
+ isControllerRequest(): boolean
613
+ }