Constants
The following constants are available globally.
-
Posted whenever a device is added (connected) to the system.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIDeviceWasAddedNotificationSwift
static let MIKMIDIDeviceWasAdded: NSNotification.Name -
Posted whenever a device is removed (disconnected) from the system.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIDeviceWasRemovedNotificationSwift
static let MIKMIDIDeviceWasRemoved: NSNotification.Name -
Posted whenever a virtual endpoint is added to the system.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIVirtualEndpointWasAddedNotificationSwift
static let MIKMIDIVirtualEndpointWasAdded: NSNotification.Name -
Posted whenever a virtual endpoint is removed from the system.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIVirtualEndpointWasRemovedNotificationSwift
static let MIKMIDIVirtualEndpointWasRemoved: NSNotification.Name -
Key whose value is the device added or removed in MIKMIDIDeviceWasAdded/RemovedNotification’s userInfo dictionary.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIDeviceKeySwift
let MIKMIDIDeviceKey: String -
Key whose value is the virtual endpoint added or removed in MIKMIDIVirtualEndpointWasAdded/RemovedNotification’s userInfo dictionary.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIEndpointKeySwift
let MIKMIDIEndpointKey: String -
Error domain for errors generated by MIKMIDI.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDIErrorDomainSwift
let MIKMIDIErrorDomain: String -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
static const NSUInteger MIKMIDIEventMetadataStartOffset = 8Swift
let MIKMIDIEventMetadataStartOffset: UInt -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
FOUNDATION_EXPORT const MusicTimeStamp MIKMIDISequenceLongestTrackLengthSwift
let MIKMIDISequenceLongestTrackLength: MusicTimeStamp -
Sent out shortly before playback loops.
Declaration
Objective-C
extern NSString *const _Nonnull MIKMIDISequencerWillLoopNotificationSwift
static let MIKMIDISequencerWillLoop: NSNotification.Name -
Set loopEndTimeStamp to this to have the loop end at the end of the sequence regardless of sequence length.
Declaration
Objective-C
extern const MusicTimeStamp MIKMIDISequencerEndOfSequenceLoopEndTimeStampSwift
let MIKMIDISequencerEndOfSequenceLoopEndTimeStamp: MusicTimeStamp -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
extern uint32_t const kMIKMIDISysexNonRealtimeManufacturerIDSwift
let kMIKMIDISysexNonRealtimeManufacturerID: UInt32 -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
extern uint32_t const kMIKMIDISysexRealtimeManufacturerIDSwift
let kMIKMIDISysexRealtimeManufacturerID: UInt32 -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
extern uint8_t const kMIKMIDISysexChannelDisregardSwift
let kMIKMIDISysexChannelDisregard: UInt8 -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
extern uint8_t const kMIKMIDISysexBeginDelimiterSwift
let kMIKMIDISysexBeginDelimiter: UInt8 -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
extern uint8_t const kMIKMIDISysexEndDelimiterSwift
let kMIKMIDISysexEndDelimiter: UInt8
View on GitHub
Constants Reference