MIKMIDIInputPort
Objective-C
@interface MIKMIDIInputPort : MIKMIDIPort
Swift
class MIKMIDIInputPort : MIKMIDIPort
MIKMIDIInputPort is an Objective-C wrapper for CoreMIDI’s MIDIPort class, and is only for source ports. It is not intended for use by clients/users of of MIKMIDI. Rather, it should be thought of as an MIKMIDI private class.
-
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
- (id _Nullable)connectToSource:(MIKMIDISourceEndpoint *)source error:(NSError **)error eventHandler:(MIKMIDIEventHandlerBlock)eventHandler;Swift
func connect(toSource source: MIKMIDISourceEndpoint, eventHandler: @escaping MIKMIDIEventHandlerBlock) throws -> Any -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
- (void)disconnectConnectionForToken:(id)token;Swift
func disconnectConnection(forToken token: Any) -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
@property (nonatomic, strong, readonly) MIKArrayOf(MIKMIDIEndpoint *) *connectedSourcesSwift
var connectedSources: [MIKMIDIEndpoint] { get } -
This is currently undocumented. Documentation contributions are always welcome!
Declaration
Objective-C
@property (nonatomic) BOOL coalesces14BitControlChangeCommandsSwift
var coalesces14BitControlChangeCommands: Bool { get set } -
Time before sysex transmissions are considered over.
This takes care of interruption in the data (devices being turned off or unplugged) as well as ill-behaved devices which don’t terminate their sysex messages with 0xF7.
Declaration
Objective-C
@property NSTimeInterval sysexTimeOut;Swift
var sysexTimeOut: TimeInterval { get set }
View on GitHub
MIKMIDIInputPort Class Reference