Package apple.coremidi.protocol
Interface MIDICIProfileResponderDelegate
-
public interface MIDICIProfileResponderDelegate[@protocol] MIDICIProfileResponderDelegate Protocol for an NSObject that constructs and issues responses for a MIDICIResponder. A MIDICIProfileResponderDelegate is required to construct a MIDICIResponder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanconnectInitiatorWithDeviceInfo(NSNumber initiatorMUID, MIDICIDeviceInfo deviceInfo)Allow a new MIDI-CI Initiator to create a session or reject the connection attemptdefault voidhandleDataForProfileOnChannelData(MIDICIProfile aProfile, byte channel, NSData inData)voidinitiatorDisconnected(NSNumber initiatorMUID)Called when an initiator terminates its MIDI-CI connectiondefault booleanwillSetProfileOnChannelEnabled(MIDICIProfile aProfile, byte channel, boolean shouldEnable)These methods must be implemented if the associated responder implements MIDI-CI profiles.
-
-
-
Method Detail
-
connectInitiatorWithDeviceInfo
boolean connectInitiatorWithDeviceInfo(NSNumber initiatorMUID, MIDICIDeviceInfo deviceInfo)
Allow a new MIDI-CI Initiator to create a session or reject the connection attempt
-
handleDataForProfileOnChannelData
default void handleDataForProfileOnChannelData(MIDICIProfile aProfile, byte channel, NSData inData)
-
initiatorDisconnected
void initiatorDisconnected(NSNumber initiatorMUID)
Called when an initiator terminates its MIDI-CI connection
-
willSetProfileOnChannelEnabled
default boolean willSetProfileOnChannelEnabled(MIDICIProfile aProfile, byte channel, boolean shouldEnable)
These methods must be implemented if the associated responder implements MIDI-CI profiles.
-
-