MidiDeviceInfo.DefaultProtocol Property

Definition

Returns the default protocol.

public int DefaultProtocol { [Android.Runtime.Register("getDefaultProtocol", "()I", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getDefaultProtocol", "()I", "", ApiSince=33)>]
member this.DefaultProtocol : int

Property Value

the device's default protocol.

Attributes

Remarks

Returns the default protocol. For most devices, this will be #PROTOCOL_UNKNOWN. Returning #PROTOCOL_UNKNOWN is not an error; the device just doesn't support Universal MIDI Packets by default.

Java documentation for android.media.midi.MidiDeviceInfo.getDefaultProtocol().

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