SwiftfuncDockKitCoreDockKitCore.SystemEventsAgent
register
DockKitCore.SystemEventsAgent.register(callback: (DockKitCore.AccessorySystemEvent) -> (), connectedCallback: ((Bool) -> ())?) async -> ()
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0callback:function
(DockKitCore.AccessorySystemEvent) -> ()escaping- returnstuple
()
- 1connectedCallback:enumSwift.Optional
- argfunction
(Bool) -> ()escaping- returnstuple
()