Share via


MidiDeviceStatus.IsInputPortOpen(Int32) Method

Definition

Returns true if an input port is open.

[Android.Runtime.Register("isInputPortOpen", "(I)Z", "", ApiSince=23)]
public bool IsInputPortOpen (int portNumber);
[<Android.Runtime.Register("isInputPortOpen", "(I)Z", "", ApiSince=23)>]
member this.IsInputPortOpen : int -> bool

Parameters

portNumber
Int32

the input port's port number

Returns

input port open status

Attributes

Remarks

Returns true if an input port is open. An input port can only be opened by one client at a time.

Java documentation for android.media.midi.MidiDeviceStatus.isInputPortOpen(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