MidiDevice.ConnectPorts(MidiInputPort, Int32) 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.
Connects the supplied MidiInputPort
to the output port of this device
with the specified port number.
[Android.Runtime.Register("connectPorts", "(Landroid/media/midi/MidiInputPort;I)Landroid/media/midi/MidiDevice$MidiConnection;", "", ApiSince=23)]
public Android.Media.Midi.MidiDevice.MidiConnection? ConnectPorts (Android.Media.Midi.MidiInputPort? inputPort, int outputPortNumber);
[<Android.Runtime.Register("connectPorts", "(Landroid/media/midi/MidiInputPort;I)Landroid/media/midi/MidiDevice$MidiConnection;", "", ApiSince=23)>]
member this.ConnectPorts : Android.Media.Midi.MidiInputPort * int -> Android.Media.Midi.MidiDevice.MidiConnection
Parameters
- inputPort
- MidiInputPort
the inputPort to connect
- outputPortNumber
- Int32
the port number of the output port to connect inputPort to.
Returns
MidiDevice.MidiConnection
object if the connection is successful,
or null in case of failure.
- 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.