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