Matter · IOS API REFERENCE
MTRBaseClusterChannel
class · iOS 16.1+ · SDK 27.1
class MTRBaseClusterChannel
Members (60)
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAcceptedCommandList
TypeScriptstatic readAttributeAcceptedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAcceptedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeAcceptedCommandList
TypeScriptstatic readAttributeAcceptedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAcceptedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAttributeList
TypeScriptstatic readAttributeAttributeListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAttributeList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeAttributeList
TypeScriptstatic readAttributeAttributeListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAttributeList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeChannelList
TypeScriptstatic readAttributeChannelListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeChannelList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeChannelList
TypeScriptstatic readAttributeChannelListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeChannelList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeClusterRevision
TypeScriptstatic readAttributeClusterRevisionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeClusterRevision(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeClusterRevision
TypeScriptstatic readAttributeClusterRevisionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeClusterRevision(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeCurrentChannel
TypeScriptstatic readAttributeCurrentChannelWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (MTRChannelClusterChannelInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeCurrentChannel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRChannelClusterChannelInfo
static · iOS 16.4+readAttributeCurrentChannel
TypeScriptstatic readAttributeCurrentChannelWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (MTRChannelClusterChannelInfoStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeCurrentChannel(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRChannelClusterChannelInfoStruct
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeFeatureMap
TypeScriptstatic readAttributeFeatureMapWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeFeatureMap(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeFeatureMap
TypeScriptstatic readAttributeFeatureMapWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeFeatureMap(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeGeneratedCommandList
TypeScriptstatic readAttributeGeneratedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeGeneratedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeGeneratedCommandList
TypeScriptstatic readAttributeGeneratedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeGeneratedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeLineup
TypeScriptstatic readAttributeLineupWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (MTRChannelClusterLineupInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeLineup(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRChannelClusterLineupInfo
static · iOS 16.4+readAttributeLineup
TypeScriptstatic readAttributeLineupWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (MTRChannelClusterLineupInfoStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeLineup(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRChannelClusterLineupInfoStruct
method · iOS 18.4+cancelRecordProgram
TypeScriptcancelRecordProgram(params: MTRChannelClusterCancelRecordProgramParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc cancelRecordProgram(with params: MTRChannelClusterCancelRecordProgramParams) async throws
method · iOS 16.4+changeByNumber
TypeScriptchangeByNumberWithCompletion(params: MTRChannelClusterChangeChannelByNumberParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc changeByNumber(with params: MTRChannelClusterChangeChannelByNumberParams) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4changeByNumber
TypeScriptchangeByNumberWithCompletionHandler(params: MTRChannelClusterChangeChannelByNumberParams, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc changeByNumber(with params: MTRChannelClusterChangeChannelByNumberParams) async throws
method · iOS 16.4+change
TypeScriptchangeWithCompletion(params: MTRChannelClusterChangeChannelParams, completion: ((arg0: (MTRChannelClusterChangeChannelResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc change(with params: MTRChannelClusterChangeChannelParams) async throws -> MTRChannelClusterChangeChannelResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4change
TypeScriptchangeWithCompletionHandler(params: MTRChannelClusterChangeChannelParams, completionHandler: ((arg0: (MTRChannelClusterChangeChannelResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc change(with params: MTRChannelClusterChangeChannelParams) async throws -> MTRChannelClusterChangeChannelResponseParams
method · iOS 18.4+getProgramGuide
TypeScriptgetProgramGuideCompletion(completion: ((arg0: (MTRChannelClusterProgramGuideResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc programGuide() async throws -> MTRChannelClusterProgramGuideResponseParams
method · iOS 18.4+getProgramGuide
TypeScriptgetProgramGuideWithCompletion(params: (MTRChannelClusterGetProgramGuideParams) | null, completion: ((arg0: (MTRChannelClusterProgramGuideResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc programGuide(with params: MTRChannelClusterGetProgramGuideParams?) async throws -> MTRChannelClusterProgramGuideResponseParams
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic initDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterChannel) | null
Swift declarationinit?(device: MTRBaseDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+init
TypeScriptstatic initDeviceEndpointIDQueue(device: MTRBaseDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRBaseClusterChannel) | null
Swift declarationinit?(device: MTRBaseDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.4+readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.4+readAttributeAttributeList
TypeScriptreadAttributeAttributeListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAttributeList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAttributeList
TypeScriptreadAttributeAttributeListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAttributeList() async throws -> [Any]
method · iOS 16.4+readAttributeChannelList
TypeScriptreadAttributeChannelListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeChannelList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeChannelList
TypeScriptreadAttributeChannelListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeChannelList() async throws -> [Any]
method · iOS 16.4+readAttributeClusterRevision
TypeScriptreadAttributeClusterRevisionCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeClusterRevision
TypeScriptreadAttributeClusterRevisionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.4+readAttributeCurrentChannel
TypeScriptreadAttributeCurrentChannelCompletion(completion: ((arg0: (MTRChannelClusterChannelInfoStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeCurrentChannel() async throws -> MTRChannelClusterChannelInfoStruct
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeCurrentChannel
TypeScriptreadAttributeCurrentChannelCompletionHandler(completionHandler: ((arg0: (MTRChannelClusterChannelInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeCurrentChannel() async throws -> MTRChannelClusterChannelInfo
method · iOS 16.4+readAttributeFeatureMap
TypeScriptreadAttributeFeatureMapCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeFeatureMap
TypeScriptreadAttributeFeatureMapCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.4+readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 16.4+readAttributeLineup
TypeScriptreadAttributeLineupCompletion(completion: ((arg0: (MTRChannelClusterLineupInfoStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeLineup() async throws -> MTRChannelClusterLineupInfoStruct
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeLineup
TypeScriptreadAttributeLineupCompletionHandler(completionHandler: ((arg0: (MTRChannelClusterLineupInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeLineup() async throws -> MTRChannelClusterLineupInfo
method · iOS 18.4+recordProgram
TypeScriptrecordProgram(params: MTRChannelClusterRecordProgramParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc recordProgram(with params: MTRChannelClusterRecordProgramParams) async throws
method · iOS 16.4+skip
TypeScriptskipWithCompletion(params: MTRChannelClusterSkipChannelParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc skip(with params: MTRChannelClusterSkipChannelParams) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4skip
TypeScriptskipWithCompletionHandler(params: MTRChannelClusterSkipChannelParams, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc skip(with params: MTRChannelClusterSkipChannelParams) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeAcceptedCommandList
TypeScriptsubscribeAttributeAcceptedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAcceptedCommandList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeAcceptedCommandList
TypeScriptsubscribeAttributeAcceptedCommandListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAcceptedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeAttributeList
TypeScriptsubscribeAttributeAttributeListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAttributeList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeAttributeList
TypeScriptsubscribeAttributeAttributeListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAttributeList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeChannelList
TypeScriptsubscribeAttributeChannelListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeChannelList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeChannelList
TypeScriptsubscribeAttributeChannelListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeChannelList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeClusterRevision
TypeScriptsubscribeAttributeClusterRevisionWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeClusterRevision(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeClusterRevision
TypeScriptsubscribeAttributeClusterRevisionWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeClusterRevision(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeCurrentChannel
TypeScriptsubscribeAttributeCurrentChannelWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (MTRChannelClusterChannelInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeCurrentChannel(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRChannelClusterChannelInfo?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeCurrentChannel
TypeScriptsubscribeAttributeCurrentChannelWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (MTRChannelClusterChannelInfoStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeCurrentChannel(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRChannelClusterChannelInfoStruct?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeFeatureMap
TypeScriptsubscribeAttributeFeatureMapWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeFeatureMap(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeFeatureMap
TypeScriptsubscribeAttributeFeatureMapWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeFeatureMap(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeGeneratedCommandList
TypeScriptsubscribeAttributeGeneratedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeGeneratedCommandList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeGeneratedCommandList
TypeScriptsubscribeAttributeGeneratedCommandListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeGeneratedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeLineup
TypeScriptsubscribeAttributeLineupWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (MTRChannelClusterLineupInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeLineup(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRChannelClusterLineupInfo?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeLineup
TypeScriptsubscribeAttributeLineupWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (MTRChannelClusterLineupInfoStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeLineup(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRChannelClusterLineupInfoStruct?, (any Error)?) -> Void)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRBaseClusterChannel.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Matter types →