lrm_observer_hotplug_available method
Whether this observer can actually deliver hotplug events.
Returns false for an observer created without a hotplug callback, and — on iOS/macOS — also when the CoreMIDI notification client could not be created (e.g. kMIDINoConnection when the MIDI server is unreachable). Port enumeration still works in that case, so the failure is otherwise invisible: the port list is correct and the initial setup_changed event still arrives, but no further hotplug notification ever will.
Implementation
bool lrm_observer_hotplug_available(ffi.Pointer<LrmObserver> observer) {
return _lrm_observer_hotplug_available(observer);
}