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. API-Since: 14.0
    • Method Detail

      • connectInitiatorWithDeviceInfo

        boolean connectInitiatorWithDeviceInfo​(@NotNull
                                               @NotNull NSNumber initiatorMUID,
                                               @NotNull
                                               @NotNull MIDICIDeviceInfo deviceInfo)
        Allow a new MIDI-CI Initiator to create a session or reject the connection attempt
      • handleDataForProfileOnChannelData

        default void handleDataForProfileOnChannelData​(@NotNull
                                                       @NotNull MIDICIProfile aProfile,
                                                       byte channel,
                                                       @NotNull
                                                       @NotNull NSData inData)
      • initiatorDisconnected

        void initiatorDisconnected​(@NotNull
                                   @NotNull NSNumber initiatorMUID)
        Called when an initiator terminates its MIDI-CI connection
      • willSetProfileOnChannelEnabled

        default boolean willSetProfileOnChannelEnabled​(@NotNull
                                                       @NotNull MIDICIProfile aProfile,
                                                       byte channel,
                                                       boolean shouldEnable)
        These methods must be implemented if the associated responder implements MIDI-CI profiles.