Matter · IOS API REFERENCE
MTRClusterChannel
class · iOS 16.1+ · SDK 27.1
class MTRClusterChannel
Members (20)
method · iOS 18.4+cancelRecordProgram
TypeScriptcancelRecordProgram(params: MTRChannelClusterCancelRecordProgramParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc cancelRecordProgram(with params: MTRChannelClusterCancelRecordProgramParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+changeByNumber
TypeScriptchangeByNumberWithExpectedValuesExpectedValueIntervalCompletion(params: MTRChannelClusterChangeChannelByNumberParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc changeByNumber(with params: MTRChannelClusterChangeChannelByNumberParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4changeByNumber
TypeScriptchangeByNumberWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRChannelClusterChangeChannelByNumberParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc changeByNumber(with params: MTRChannelClusterChangeChannelByNumberParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+change
TypeScriptchangeWithExpectedValuesExpectedValueIntervalCompletion(params: MTRChannelClusterChangeChannelParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRChannelClusterChangeChannelResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc change(with params: MTRChannelClusterChangeChannelParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRChannelClusterChangeChannelResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4change
TypeScriptchangeWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRChannelClusterChangeChannelParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (MTRChannelClusterChangeChannelResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc change(with params: MTRChannelClusterChangeChannelParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRChannelClusterChangeChannelResponseParams
method · iOS 18.4+getProgramGuide
TypeScriptgetProgramGuideWithExpectedValuesExpectedValueIntervalCompletion(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRChannelClusterProgramGuideResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc programGuide(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRChannelClusterProgramGuideResponseParams
method · iOS 18.4+getProgramGuide
TypeScriptgetProgramGuideWithExpectedValuesExpectedValueIntervalCompletion10022(params: (MTRChannelClusterGetProgramGuideParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRChannelClusterProgramGuideResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc programGuide(with params: MTRChannelClusterGetProgramGuideParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRChannelClusterProgramGuideResponseParams
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterChannel) | null
Swift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+init
TypeScriptstatic initDeviceEndpointIDQueue(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterChannel) | null
Swift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.1+readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeAttributeList
TypeScriptreadAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeChannelList
TypeScriptreadAttributeChannelList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeChannelList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeClusterRevision
TypeScriptreadAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeCurrentChannel
TypeScriptreadAttributeCurrentChannel(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeCurrentChannel(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeFeatureMap
TypeScriptreadAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeLineup
TypeScriptreadAttributeLineup(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeLineup(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+recordProgram
TypeScriptrecordProgram(params: MTRChannelClusterRecordProgramParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc recordProgram(with params: MTRChannelClusterRecordProgramParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+skip
TypeScriptskipWithExpectedValuesExpectedValueIntervalCompletion(params: MTRChannelClusterSkipChannelParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc skip(with params: MTRChannelClusterSkipChannelParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4skip
TypeScriptskipWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRChannelClusterSkipChannelParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc skip(with params: MTRChannelClusterSkipChannelParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRClusterChannel.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Matter types →