Language

MidiDeviceProtocol Enum

Definition

Specifies the default protocol of a MIDI device.

public enum MidiDeviceProtocol
type MidiDeviceProtocol = 
Inheritance
MidiDeviceProtocol

Fields

Name Value Description
Unknown -1

Constant representing a device with an unknown default protocol. If Universal MIDI Packets (UMP) are needed, use MIDI-CI through MIDI 1.0. UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. MIDI-CI is defined in "MIDI Capability Inquiry (MIDI-CI)" spec.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UNKNOWN.

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.

UmpUseMidiCi 0

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use UMP to negotiate with the device with MIDI-CI. MIDI-CI is defined in "MIDI Capability Inquiry (MIDI-CI)" spec. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_USE_MIDI_CI.

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.

UmpMidi10UpTo64Bits 1

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use MIDI 1.0 through UMP with packet sizes up to 64 bits. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_MIDI_1_0_UP_TO_64_BITS.

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.

UmpMidi10UpTo64BitsAndJrts 2

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use MIDI 1.0 through UMP with packet sizes up to 64 bits and jitter reduction timestamps. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_MIDI_1_0_UP_TO_64_BITS_AND_JRTS.

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.

UmpMidi10UpTo128Bits 3

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use MIDI 1.0 through UMP with packet sizes up to 128 bits. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_MIDI_1_0_UP_TO_128_BITS.

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.

UmpMidi10UpTo128BitsAndJrts 4

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use MIDI 1.0 through UMP with packet sizes up to 128 bits and jitter reduction timestamps. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_MIDI_1_0_UP_TO_128_BITS_AND_JRTS.

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.

UmpMidi20 17

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use MIDI 2.0 through UMP. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_MIDI_2_0.

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.

UmpMidi20AndJrts 18

Constant representing a default protocol with Universal MIDI Packets (UMP). UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec. All UMP data should be a multiple of 4 bytes. Use MIDI 2.0 through UMP and jitter reduction timestamps. Call MidiManager.getDevicesForTransport with parameter MidiManager.TRANSPORT_UNIVERSAL_MIDI_PACKETS to get devices with this transport.

Android reference for android.media.midi.MidiDeviceInfo.PROTOCOL_UMP_MIDI_2_0_AND_JRTS.

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.

Remarks

These values represent the PROTOCOL_* constants of MidiDeviceInfo. The UMP values describe MIDI 1.0 or MIDI 2.0 messages carried in Universal MIDI Packets, with options for packet size and jitter reduction timestamps. UmpUseMidiCi selects protocol negotiation through MIDI Capability Inquiry (MIDI-CI).

Unknown indicates an unknown default protocol. It does not indicate an error; the device does not support Universal MIDI Packets by default.

See the Android default protocol reference.

Applies to