Package org.robovm.apple.coremidi
Class MIDIPacket
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<MIDIPacket>
-
- org.robovm.apple.coremidi.MIDIPacket
-
- All Implemented Interfaces:
java.lang.Iterable<MIDIPacket>
public class MIDIPacket extends org.robovm.rt.bro.Struct<MIDIPacket>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MIDIPacket.MIDIPacketPtr
-
Constructor Summary
Constructors Constructor Description MIDIPacket()
MIDIPacket(long timeStamp, short length, java.nio.ByteBuffer data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
getData()
short
getLength()
long
getTimeStamp()
MIDIPacket
setData(java.nio.ByteBuffer data)
MIDIPacket
setLength(short length)
MIDIPacket
setTimeStamp(long timeStamp)
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Method Detail
-
getTimeStamp
public long getTimeStamp()
-
setTimeStamp
public MIDIPacket setTimeStamp(long timeStamp)
-
getLength
public short getLength()
-
setLength
public MIDIPacket setLength(short length)
-
getData
public java.nio.ByteBuffer getData()
-
setData
public MIDIPacket setData(java.nio.ByteBuffer data)
-
-