Added in API level 23

OnDeviceOpenedListener


interface OnDeviceOpenedListener
android.media.midi.MidiManager.OnDeviceOpenedListener

Listener class used for receiving the results of openDevice and openBluetoothDevice

Summary

Public methods
abstract Unit

Called to respond to a openDevice request

Public methods

onDeviceOpened

Added in API level 23
abstract fun onDeviceOpened(device: MidiDevice!): Unit

Called to respond to a openDevice request

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