javax.sound.midi
public class MetaMessage extends MidiMessage
Since: 1.3
| Field Summary | |
|---|---|
| static int | META
The META status code. |
| Constructor Summary | |
|---|---|
| MetaMessage()
Create a default valid meta message.
| |
| protected | MetaMessage(byte[] data)
Create a MetaMessage object. |
| Method Summary | |
|---|---|
| Object | clone() |
| byte[] | getData()
Get the data for this message, not including the status,
type, or length information.
|
| int | getType()
Get the meta message type.
|
| void | setMessage(int type, byte[] data, int length)
Set the meta message.
|
Parameters: data a complete system exclusive message
Returns: the message data, not including status, type or lenght info
Returns: the meta message type
Parameters: type the meta type byte (< 128) data the message data length the length of the message data
Throws: InvalidMidiDataException if this message is invalid