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
MIKMIDIAutoConnectBehaviorDoNotConnect
Swift
case doNotConnect = 0
-
Connect to the newly added device
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorConnect
Swift
case connect = 1
-
Connect to the newly added device only if it was previously connected (ie. in the saved configuration data)
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorConnectOnlyIfPreviouslyConnected
Swift
case connectOnlyIfPreviouslyConnected = 2
-
Connect to the newly added device if it was previously connected, or is unknown in the configuration data.
Declaration
Objective-C
MIKMIDIAutoConnectBehaviorConnectIfPreviouslyConnectedOrNew
Swift
case connectIfPreviouslyConnectedOrNew = 3