lastPacket
TypeScriptget lastPacket(): (SDKHandle) | nullSwift declarationvar lastPacket: UnsafeMutablePointer<MIDIEventPacket>? { get }struct · iOS 14.0+ · SDK 27.1
struct UnsafeMutableMIDIEventListPointerget lastPacket(): (SDKHandle) | nullSwift declarationvar lastPacket: UnsafeMutablePointer<MIDIEventPacket>? { get }makeIterator(): MIDIEventList_UnsafeSequence_IteratorSwift declarationfunc makeIterator() -> MIDIEventList.UnsafeSequence.IteratorReturns an iterator over the elements of this sequence.
get midiProtocol(): MIDIProtocolIDSwift declarationvar midiProtocol: MIDIProtocolID { get }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 `MIDIEventPacket`s in the MIDIEventList
append(timestamp: number, words: Array<number>): (SDKHandle) | nullSwift declaration@discardableResult mutating func append(timestamp: MIDITimeStamp, words: [UInt32]) -> UnsafePointer<MIDIEventPacket>?static initWordSizeInProtocol(p: SDKHandle, wordSize: number, inProtocol: MIDIProtocolID): UnsafeMutableMIDIEventListPointerSwift declarationinit(_ p: UnsafeMutablePointer<MIDIEventList>, wordSize: Int, inProtocol: MIDIProtocolID)static initWordSize(p: (SDKHandle) | null, wordSize: number): (UnsafeMutableMIDIEventListPointer) | nullSwift declarationinit?(_ p: UnsafeMutablePointer<MIDIEventList>?, wordSize: Int)No declarations were skipped in this snapshot.