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 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.