lastPacket
TypeScriptget lastPacket(): (SDKHandle) | nullSwift declarationvar lastPacket: UnsafeMutablePointer<MIDIPacket>? { get }struct · iOS 13.0+ · SDK 27.1
struct UnsafeMutableMIDIPacketListPointerget lastPacket(): (SDKHandle) | nullSwift declarationvar lastPacket: UnsafeMutablePointer<MIDIPacket>? { get }makeIterator(): MIDIPacketList_UnsafeSequence_IteratorSwift declarationfunc makeIterator() -> MIDIPacketList.UnsafeSequence.IteratorReturns an iterator over the elements of this sequence.
get listSizeInBytes(): numberSwift declarationvar listSizeInBytes: Int { get }The allocated size in bytes
clear(): voidSwift declarationmutating func clear()get count(): numberSwift declarationvar count: Int { get }The number of `MIDIPacket`s in the MIDIPacketList
append(timestamp: number, data: Array<number>): (SDKHandle) | nullSwift declaration@discardableResult mutating func append(timestamp: MIDITimeStamp, data: [UInt8]) -> UnsafePointer<MIDIPacket>?static initByteSize(p: (SDKHandle) | null, byteSize: number): (UnsafeMutableMIDIPacketListPointer) | nullSwift declarationinit?(_ p: UnsafeMutablePointer<MIDIPacketList>?, byteSize: Int)static initByteSize21778(p: SDKHandle, byteSize: number): UnsafeMutableMIDIPacketListPointerSwift declarationinit(_ p: UnsafeMutablePointer<MIDIPacketList>, byteSize: Int)No declarations were skipped in this snapshot.