Contents

willSetProfile(_:onChannel:enabled:)

Provides an opportunity to perform an action before the system sets the profile.

Declaration

optional func willSetProfile(_ aProfile: MIDICIProfile, onChannel channel: MIDIChannelNumber, enabled shouldEnable: Bool) -> Bool

Parameters

  • aProfile:

    The profile the system uses to configure the device.

  • channel:

    The MIDI channel assignment.

  • shouldEnable:

    A Booean value that indicates whether the system should enable the profile.

Return Value

A Boolean value that indicates whether the system enabled the profile.

See Also

Protocol Methods