lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
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