Creates and returns a notification object for receiving IOKit notifications of new devices or state changes.
- macOS 10.0+
- Mac Catalyst 13.0+
The master port obtained from IOMasterPort(). Pass kIOMasterPortDefault to look up the default master port.
A reference to the notification object.
Creates the notification object to receive notifications from IOKit of new device arrivals or state changes. The notification object can be supply a CFRunLoopSource, or mach_port_t to be used to listen for events.