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, OnDeviceOpenedListener, Handler) and MidiManager.openBluetoothDevice(BluetoothDevice, OnDeviceOpenedListener, Handler)

Summary

Public methods

abstract void onDeviceOpened(MidiDevice device)

Called to respond to a MidiManager.openDevice(MidiDeviceInfo, 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, OnDeviceOpenedListener, Handler) request

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