setProfileState
TypeScriptsetProfileState(isEnabled: boolean, enabledChannelCount: number): voidSwift declarationfunc setProfileState(_ isEnabled: Bool, enabledChannelCount: MIDIUInteger14) throwsclass · iOS 18.0+ · SDK 27.1
class MIDIUMPCIProfilesetProfileState(isEnabled: boolean, enabledChannelCount: number): voidSwift declarationfunc setProfileState(_ isEnabled: Bool, enabledChannelCount: MIDIUInteger14) throwsget enabledChannelCount(): numberSwift declarationvar enabledChannelCount: MIDIUInteger14 { get }get firstChannel(): numberSwift declarationvar firstChannel: MIDIChannelNumber { get }get groupOffset(): numberSwift declarationvar groupOffset: MIDIUMPGroupNumber { get }get isEnabled(): booleanSwift declarationvar isEnabled: Bool { get }get name(): stringSwift declarationvar name: String { get }get profileID(): MIDICIProfileIDSwift declarationvar profileID: MIDICIProfileID { get }get profileType(): MIDICIProfileTypeSwift declarationvar profileType: MIDICIProfileType { get }get totalChannelCount(): numberSwift declarationvar totalChannelCount: MIDIUInteger14 { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MIDIUMPCIProfile.init()
inherited init: clang: 'init' is unavailable