Udostępnij za pośrednictwem


MidiDevice.OpenOutputPort(Int32) Method

Definition

Called to open a MidiOutputPort for the specified port number.

[Android.Runtime.Register("openOutputPort", "(I)Landroid/media/midi/MidiOutputPort;", "", ApiSince=23)]
public Android.Media.Midi.MidiOutputPort? OpenOutputPort (int portNumber);
[<Android.Runtime.Register("openOutputPort", "(I)Landroid/media/midi/MidiOutputPort;", "", ApiSince=23)>]
member this.OpenOutputPort : int -> Android.Media.Midi.MidiOutputPort

Parameters

portNumber
Int32

the number of the output port to open

Returns

the MidiOutputPort if the open is successful, or null in case of failure.

Attributes

Remarks

Called to open a MidiOutputPort for the specified port number.

An output port may be opened by multiple applications.

Java documentation for android.media.midi.MidiDevice.openOutputPort(int).

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.

Applies to