MIKMIDIErrorCode
Objective-C
enum MIKMIDIErrorCode {}
Swift
enum MIKMIDIErrorCode : Int
Error code values for NSError objects in the MIKMIDI error domain.
-
Unknown error.
Declaration
Objective-C
MIKMIDIUnknownErrorCode = 1Swift
case unknownErrorCode = 1 -
Invalid argument error.
Declaration
Objective-C
MIKMIDIInvalidArgumentErrorSwift
case invalidArgumentError = 2 -
An error occurred because the connection to a device was lost.
Declaration
Objective-C
MIKMIDIDeviceConnectionLostErrorCodeSwift
case deviceConnectionLostErrorCode = 3 -
An connection error occurred because the device has no source endpoints.
Declaration
Objective-C
MIKMIDIDeviceHasNoSourcesErrorCodeSwift
case deviceHasNoSourcesErrorCode = 4 -
MIDI mapping using MIKMIDIMappingGenerator failed.
Declaration
Objective-C
MIKMIDIMappingFailedErrorCodeSwift
case mappingFailedErrorCode = 5 -
The mapping file did not have the correct file extension (“.midimap”).
Declaration
Objective-C
MIKMIDIMappingIncorrectFileExtensionErrorCodeSwift
case mappingIncorrectFileExtensionErrorCode = 6 -
An error ocurred while creating a new track in an MIKMIDISequence. The error’s info dictionary may contain an underlying error with more informationin for its NSUnderlyingErrorKey.
Declaration
Objective-C
MIKMIDISequenceAddTrackFailedErrorCodeSwift
case sequenceAddTrackFailedErrorCode = 7 -
An error ocurred during an operation on event(s) in an MIKMIDITrack because the event(s) could not be found in the track.
Declaration
Objective-C
MIKMIDITrackEventNotFoundErrorCodeSwift
case trackEventNotFoundErrorCode = 8 -
An error occurred selecting an instrument on MIKMIDISynthesizer, because the synthesizer’s underlying audio unit does not support instrument selection, or MIKMIDI doesn’t know how to select its instruments.
Declaration
Objective-C
MIKMIDISynthesizerDoesNotSupportInstrumentSelectionErrorSwift
case synthesizerDoesNotSupportInstrumentSelectionError = 9
View on GitHub
MIKMIDIErrorCode Enumeration Reference