disableProfile
TypeScriptdisableProfile(profile: MIDICIProfile, channel: number): voidSwift declarationfunc disableProfile(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber) throwsclass · iOS 12.0+ · Deprecated in iOS 18.0 · SDK 27.1
class MIDICISessiondisableProfile(profile: MIDICIProfile, channel: number): voidSwift declarationfunc disableProfile(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber) throwsenable(profile: MIDICIProfile, channel: number): voidSwift declarationfunc enable(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber) throwsstatic init(discoveredNode: MIDICIDiscoveredNode, handler: (() => void), disconnectHandler: ((arg0: MIDICISession, arg1: NativeError) => void)): MIDICISessionSwift declarationinit(discoveredNode: MIDICIDiscoveredNode, dataReadyHandler handler: @escaping () -> Void, disconnectHandler: @escaping MIDICISessionDisconnectBlock)profileState(channel: number): MIDICIProfileStateSwift declarationfunc profileState(forChannel channel: MIDIChannelNumber) -> MIDICIProfileStatesend(profile: MIDICIProfile, channel: number, profileSpecificData: ArrayBuffer): booleanSwift declarationfunc send(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber, profileData profileSpecificData: Data) -> Boolget deviceInfo(): MIDICIDeviceInfoSwift declarationvar deviceInfo: MIDICIDeviceInfo { get }get maxPropertyRequests(): _Foundation_NSNumberSwift declarationvar maxPropertyRequests: NSNumber { get }get maxSysExSize(): _Foundation_NSNumberSwift declarationvar maxSysExSize: NSNumber { get }get midiDestination(): numberSwift declarationvar midiDestination: MIDIEntityRef { get }get profileChangedCallback(): (((arg0: MIDICISession, arg1: number, arg2: MIDICIProfile, arg3: boolean) => Promise<void>)) | nullSwift declarationvar profileChangedCallback: MIDICIProfileChangedBlock? { get set }set profileChangedCallback(value: (((arg0: MIDICISession, arg1: number, arg2: MIDICIProfile, arg3: boolean) => void)) | null)Swift declarationvar profileChangedCallback: MIDICIProfileChangedBlock? { get set }get profileSpecificDataHandler(): (((arg0: MIDICISession, arg1: number, arg2: MIDICIProfile, arg3: ArrayBuffer) => Promise<void>)) | nullSwift declarationvar profileSpecificDataHandler: MIDICIProfileSpecificDataBlock? { get set }set profileSpecificDataHandler(value: (((arg0: MIDICISession, arg1: number, arg2: MIDICIProfile, arg3: ArrayBuffer) => void)) | null)Swift declarationvar profileSpecificDataHandler: MIDICIProfileSpecificDataBlock? { get set }get supportsProfileCapability(): booleanSwift declarationvar supportsProfileCapability: Bool { get }get supportsPropertyCapability(): booleanSwift declarationvar supportsPropertyCapability: Bool { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MIDICISession.init()
inherited init: cannot prove legal (class declares 1 custom initializer)