예제 #1
0
 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;
 }
예제 #2
0
 partial void InitializeDefault()
 {
     Default = new AndroidExtensions.AndroidMidiAccess(Android.App.Application.Context);
 }