Compartir a través de


MidiManager.DeviceCallback.OnDeviceAdded(MidiDeviceInfo) Method

Definition

Called to notify when a new MIDI device has been added

[Android.Runtime.Register("onDeviceAdded", "(Landroid/media/midi/MidiDeviceInfo;)V", "GetOnDeviceAdded_Landroid_media_midi_MidiDeviceInfo_Handler", ApiSince=23)]
public virtual void OnDeviceAdded (Android.Media.Midi.MidiDeviceInfo? device);
[<Android.Runtime.Register("onDeviceAdded", "(Landroid/media/midi/MidiDeviceInfo;)V", "GetOnDeviceAdded_Landroid_media_midi_MidiDeviceInfo_Handler", ApiSince=23)>]
abstract member OnDeviceAdded : Android.Media.Midi.MidiDeviceInfo -> unit
override this.OnDeviceAdded : Android.Media.Midi.MidiDeviceInfo -> unit

Parameters

device
MidiDeviceInfo

a MidiDeviceInfo for the newly added device

Attributes

Remarks

Called to notify when a new MIDI device has been added

Java documentation for android.media.midi.MidiManager.DeviceCallback.onDeviceAdded(android.media.midi.MidiDeviceInfo).

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