MidiManager.OpenBluetoothDevice 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 Bluetooth MIDI device for reading and writing.
[Android.Runtime.Register("openBluetoothDevice", "(Landroid/bluetooth/BluetoothDevice;Landroid/media/midi/MidiManager$OnDeviceOpenedListener;Landroid/os/Handler;)V", "", ApiSince=23)]
public void OpenBluetoothDevice (Android.Bluetooth.BluetoothDevice? bluetoothDevice, Android.Media.Midi.MidiManager.IOnDeviceOpenedListener? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("openBluetoothDevice", "(Landroid/bluetooth/BluetoothDevice;Landroid/media/midi/MidiManager$OnDeviceOpenedListener;Landroid/os/Handler;)V", "", ApiSince=23)>]
member this.OpenBluetoothDevice : Android.Bluetooth.BluetoothDevice * Android.Media.Midi.MidiManager.IOnDeviceOpenedListener * Android.OS.Handler -> unit
Parameters
- bluetoothDevice
- BluetoothDevice
a android.bluetooth.BluetoothDevice
to open as a MIDI device
- 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.