MidiManager.OpenDevice Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a MIDI device for reading and writing.
[Android.Runtime.Register("openDevice", "(Landroid/media/midi/MidiDeviceInfo;Landroid/media/midi/MidiManager$OnDeviceOpenedListener;Landroid/os/Handler;)V", "", ApiSince=23)]
public void OpenDevice (Android.Media.Midi.MidiDeviceInfo? deviceInfo, Android.Media.Midi.MidiManager.IOnDeviceOpenedListener? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("openDevice", "(Landroid/media/midi/MidiDeviceInfo;Landroid/media/midi/MidiManager$OnDeviceOpenedListener;Landroid/os/Handler;)V", "", ApiSince=23)>]
member this.OpenDevice : Android.Media.Midi.MidiDeviceInfo * Android.Media.Midi.MidiManager.IOnDeviceOpenedListener * Android.OS.Handler -> unit
Parameters
- deviceInfo
- MidiDeviceInfo
a android.media.midi.MidiDeviceInfo
to open
- listener
- MidiManager.IOnDeviceOpenedListener
a MidiManager.OnDeviceOpenedListener
to be called
to receive the result
- handler
- Handler
the android.os.Handler Handler
that will be used for delivering
the result. If handler is null, then the thread used for the
listener is unspecified.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.