public abstract class MidiSender
extends Object
java.lang.Object | |
↳ | android.media.midi.MidiSender |
Known Direct Subclasses |
由设备提供的接口允许将MidiReceivers连接到MIDI设备。
Public constructors |
|
---|---|
MidiSender() |
Public methods |
|
---|---|
void |
connect(MidiReceiver receiver) 将 |
void |
disconnect(MidiReceiver receiver) 断开 |
abstract void |
onConnect(MidiReceiver receiver) 打电话给 |
abstract void |
onDisconnect(MidiReceiver receiver) 打电话断开发件人的 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
void connect (MidiReceiver receiver)
将 MidiReceiver
连接到发件人
Parameters | |
---|---|
receiver |
MidiReceiver : the receiver to connect |
void disconnect (MidiReceiver receiver)
断开 MidiReceiver
与发件人的连接
Parameters | |
---|---|
receiver |
MidiReceiver : the receiver to disconnect |
void onConnect (MidiReceiver receiver)
打电话给 MidiReceiver
连接到发件人
Parameters | |
---|---|
receiver |
MidiReceiver : the receiver to connect |
void onDisconnect (MidiReceiver receiver)
打电话断开 MidiReceiver
与发件人的连接
Parameters | |
---|---|
receiver |
MidiReceiver : the receiver to disconnect |