MIKMIDIAutoConnectBehavior
Objective-C
enum MIKMIDIAutoConnectBehavior {}
Swift
enum MIKMIDIAutoConnectBehavior : Int
Specifies behavior for connecting to a newly connected device. See -connectionManager:shouldConnectToNewlyAddedDevice:
-
Do not connect to the newly added device
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorDoNotConnectSwift
case doNotConnect = 0 -
Connect to the newly added device
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorConnectSwift
case connect = 1 -
Connect to the newly added device only if it was previously connected (ie. in the saved configuration data)
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorConnectOnlyIfPreviouslyConnectedSwift
case connectOnlyIfPreviouslyConnected = 2 -
Connect to the newly added device if it was previously connected, or is unknown in the configuration data.
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorConnectIfPreviouslyConnectedOrNewSwift
case connectIfPreviouslyConnectedOrNew = 3
View on GitHub
MIKMIDIAutoConnectBehavior Enumeration Reference