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. API-Since: 14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description booleanconnectInitiatorWithDeviceInfo(@NotNull NSNumber initiatorMUID, @NotNull MIDICIDeviceInfo deviceInfo)Allow a new MIDI-CI Initiator to create a session or reject the connection attemptdefault voidhandleDataForProfileOnChannelData(@NotNull MIDICIProfile aProfile, byte channel, @NotNull NSData inData)voidinitiatorDisconnected(@NotNull NSNumber initiatorMUID)Called when an initiator terminates its MIDI-CI connectiondefault booleanwillSetProfileOnChannelEnabled(@NotNull MIDICIProfile aProfile, byte channel, boolean shouldEnable)These methods must be implemented if the associated responder implements MIDI-CI profiles.
-
-
-
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.
-
-