MidiManager.GetDevicesForTransport(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of connected MIDI devices by transport.
[Android.Runtime.Register("getDevicesForTransport", "(I)Ljava/util/Set;", "", ApiSince=33)]
public System.Collections.Generic.ICollection<Android.Media.Midi.MidiDeviceInfo> GetDevicesForTransport (int transport);
[<Android.Runtime.Register("getDevicesForTransport", "(I)Ljava/util/Set;", "", ApiSince=33)>]
member this.GetDevicesForTransport : int -> System.Collections.Generic.ICollection<Android.Media.Midi.MidiDeviceInfo>
- transport
- Int32
The transport to be used. This is either TRANSPORT_MIDI_BYTE_STREAM or TRANSPORT_UNIVERSAL_MIDI_PACKETS.
a collection of MIDI devices
- Attributes
Gets a list of connected MIDI devices by transport. TRANSPORT_MIDI_BYTE_STREAM is used for MIDI 1.0 and is the most common. For devices with built in Universal MIDI Packet support, use TRANSPORT_UNIVERSAL_MIDI_PACKETS instead.
Java documentation for android.media.midi.MidiManager.getDevicesForTransport(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.