public OpenDeviceListener(AndroidMidiAccess parent, MidiDevice device, MidiPortDetails portToOpen) { if (parent == null) { throw new ArgumentNullException(nameof(parent)); } if (portToOpen == null) { throw new ArgumentNullException(nameof(portToOpen)); } this.parent = parent; this.device = device; port_to_open = portToOpen; }
partial void InitializeDefault() { Default = new AndroidExtensions.AndroidMidiAccess(Android.App.Application.Context); }