Most visited

Recently visited

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

Summary

Public methods

abstract void onDeviceOpened(MidiDevice device)

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

Public methods

onDeviceOpened

Added in API level 23
void onDeviceOpened (MidiDevice device)

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

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

Hooray!