Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 23

MidiManager.OnDeviceOpenedListener

public static interface MidiManager.OnDeviceOpenedListener

android.media.midi.MidiManager.OnDeviceOpenedListener


Listener class used for receiving the results of MidiManager.openDevice(MidiDeviceInfo, MidiManager.OnDeviceOpenedListener, Handler) and MidiManager.openBluetoothDevice(BluetoothDevice, MidiManager.OnDeviceOpenedListener, Handler)

Summary

Public methods

abstract void onDeviceOpened(MidiDevice device)

Called to respond to a MidiManager.openDevice(MidiDeviceInfo, MidiManager.OnDeviceOpenedListener, Handler) request

Public methods

onDeviceOpened

added in API level 23
public abstract void onDeviceOpened (MidiDevice device)

Called to respond to a MidiManager.openDevice(MidiDeviceInfo, MidiManager.OnDeviceOpenedListener, Handler) request

Parameters
device MidiDevice: a MidiDevice for opened device, or null if opening failed