MidiDeviceStatus.GetOutputPortOpenCount(Int32) Method

Definition

Returns the number of clients currently connected to the specified output port.

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

Parameters

portNumber
Int32

the output port's port number

Returns

output port open count

Attributes

Remarks

Returns the number of clients currently connected to the specified output port. Unlike input ports, an output port can be opened by multiple clients at the same time.

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