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; }
public static void Initialize(Context context) { Default = new AndroidMidiAccess(context); }