public static class MidiCommand.Builder extends Object
MidiCommands.| Constructor and Description |
|---|
Builder(Command command,
Channel channel)
|
| Modifier and Type | Method and Description |
|---|---|
MidiCommand.Builder |
setDataBytes(byte[] databytes)
Set the optional data-bytes of the
MidiCommand. |
MidiCommand |
toMidiCommand()
Retrieve the
MidiCommand built with the MidiCommand.Builder. |
public Builder(Command command, Channel channel)
command - The Command of the MidiCommand.channel - The Channel of the MidiCommand.public MidiCommand.Builder setDataBytes(byte[] databytes)
MidiCommand.databytes - The optional data-bytes of the MidiCommand.MidiCommand.Builder.public MidiCommand toMidiCommand()
MidiCommand built with the MidiCommand.Builder.MidiCommand built with the MidiCommand.Builder.Copyright © 2016. All Rights Reserved.