Udostępnij za pośrednictwem


MidiDeviceService.OnGetInputPortReceivers Method

Definition

Returns an array of MidiReceiver for the device's input ports.

[Android.Runtime.Register("onGetInputPortReceivers", "()[Landroid/media/midi/MidiReceiver;", "GetOnGetInputPortReceiversHandler", ApiSince=23)]
public abstract Android.Media.Midi.MidiReceiver[]? OnGetInputPortReceivers ();
[<Android.Runtime.Register("onGetInputPortReceivers", "()[Landroid/media/midi/MidiReceiver;", "GetOnGetInputPortReceiversHandler", ApiSince=23)>]
abstract member OnGetInputPortReceivers : unit -> Android.Media.Midi.MidiReceiver[]

Returns

array of MidiReceivers

Attributes

Remarks

Returns an array of MidiReceiver for the device's input ports. Subclasses must override this to provide the receivers which will receive data sent to the device's input ports. An empty array should be returned if the device has no input ports.

Java documentation for android.media.midi.MidiDeviceService.onGetInputPortReceivers().

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