Matter · IOS API REFERENCE
MTRBaseClusterModeSelect
class · iOS 16.1+ · SDK 27.1
class MTRBaseClusterModeSelect
Members (78)
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.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.4readAttributeCurrentMode
TypeScriptstatic readAttributeCurrentModeWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeCurrentMode(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeCurrentMode
TypeScriptstatic readAttributeCurrentModeWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeCurrentMode(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeDescription
TypeScriptstatic readAttributeDescriptionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeDescription(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+readAttributeDescription
TypeScriptstatic readAttributeDescriptionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeDescription(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
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.4readAttributeOnMode
TypeScriptstatic readAttributeOnModeWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeOnMode(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeOnMode
TypeScriptstatic readAttributeOnModeWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeOnMode(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeStandardNamespace
TypeScriptstatic readAttributeStandardNamespaceWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeStandardNamespace(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeStandardNamespace
TypeScriptstatic readAttributeStandardNamespaceWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeStandardNamespace(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeStartUpMode
TypeScriptstatic readAttributeStartUpModeWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeStartUpMode(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeStartUpMode
TypeScriptstatic readAttributeStartUpModeWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeStartUpMode(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSupportedModes
TypeScriptstatic readAttributeSupportedModesWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeSupportedModes(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeSupportedModes
TypeScriptstatic readAttributeSupportedModesWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeSupportedModes(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
method · iOS 16.4+changeToMode
TypeScriptchangeToModeWithCompletion(params: MTRModeSelectClusterChangeToModeParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc changeToMode(with params: MTRModeSelectClusterChangeToModeParams) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4changeToMode
TypeScriptchangeToModeWithCompletionHandler(params: MTRModeSelectClusterChangeToModeParams, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc changeToMode(with params: MTRModeSelectClusterChangeToModeParams) async throws
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic initDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterModeSelect) | 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): (MTRBaseClusterModeSelect) | 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+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+readAttributeCurrentMode
TypeScriptreadAttributeCurrentModeCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeCurrentMode() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeCurrentMode
TypeScriptreadAttributeCurrentModeCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeCurrentMode() async throws -> NSNumber
method · iOS 16.4+readAttributeDescription
TypeScriptreadAttributeDescriptionCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeDescription() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeDescription
TypeScriptreadAttributeDescriptionCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeDescription() async throws -> String
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+readAttributeOnMode
TypeScriptreadAttributeOnModeCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeOnMode() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeOnMode
TypeScriptreadAttributeOnModeCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeOnMode() async throws -> NSNumber
method · iOS 16.4+readAttributeStandardNamespace
TypeScriptreadAttributeStandardNamespaceCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeStandardNamespace() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeStandardNamespace
TypeScriptreadAttributeStandardNamespaceCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeStandardNamespace() async throws -> NSNumber
method · iOS 16.4+readAttributeStartUpMode
TypeScriptreadAttributeStartUpModeCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeStartUpMode() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeStartUpMode
TypeScriptreadAttributeStartUpModeCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeStartUpMode() async throws -> NSNumber
method · iOS 16.4+readAttributeSupportedModes
TypeScriptreadAttributeSupportedModesCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeSupportedModes() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSupportedModes
TypeScriptreadAttributeSupportedModesCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeSupportedModes() async throws -> [Any]
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.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.4subscribeAttributeCurrentMode
TypeScriptsubscribeAttributeCurrentModeWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeCurrentMode(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeCurrentMode
TypeScriptsubscribeAttributeCurrentModeWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeCurrentMode(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeDescription
TypeScriptsubscribeAttributeDescriptionWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeDescription(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeDescription
TypeScriptsubscribeAttributeDescriptionWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeDescription(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (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.4subscribeAttributeOnMode
TypeScriptsubscribeAttributeOnModeWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeOnMode(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeOnMode
TypeScriptsubscribeAttributeOnModeWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeOnMode(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeStandardNamespace
TypeScriptsubscribeAttributeStandardNamespaceWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeStandardNamespace(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeStandardNamespace
TypeScriptsubscribeAttributeStandardNamespaceWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeStandardNamespace(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeStartUpMode
TypeScriptsubscribeAttributeStartUpModeWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeStartUpMode(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeStartUpMode
TypeScriptsubscribeAttributeStartUpModeWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeStartUpMode(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeSupportedModes
TypeScriptsubscribeAttributeSupportedModesWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeSupportedModes(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeSupportedModes
TypeScriptsubscribeAttributeSupportedModesWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeSupportedModes(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+writeAttributeOnMode
TypeScriptwriteAttributeOnModeWithValueCompletion(value: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeOnMode(withValue value: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeOnMode
TypeScriptwriteAttributeOnModeWithValueCompletionHandler(value: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeOnMode(withValue value: NSNumber?) async throws
method · iOS 16.4+writeAttributeOnMode
TypeScriptwriteAttributeOnModeWithValueParamsCompletion(value: (_Foundation_NSNumber) | null, params: (MTRWriteParams) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeOnMode(withValue value: NSNumber?, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeOnMode
TypeScriptwriteAttributeOnModeWithValueParamsCompletionHandler(value: (_Foundation_NSNumber) | null, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeOnMode(withValue value: NSNumber?, params: MTRWriteParams?) async throws
method · iOS 16.4+writeAttributeStartUpMode
TypeScriptwriteAttributeStartUpModeWithValueCompletion(value: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeStartUpMode(withValue value: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeStartUpMode
TypeScriptwriteAttributeStartUpModeWithValueCompletionHandler(value: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeStartUpMode(withValue value: NSNumber?) async throws
method · iOS 16.4+writeAttributeStartUpMode
TypeScriptwriteAttributeStartUpModeWithValueParamsCompletion(value: (_Foundation_NSNumber) | null, params: (MTRWriteParams) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeStartUpMode(withValue value: NSNumber?, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeStartUpMode
TypeScriptwriteAttributeStartUpModeWithValueParamsCompletionHandler(value: (_Foundation_NSNumber) | null, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeStartUpMode(withValue value: NSNumber?, params: MTRWriteParams?) async throws
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRBaseClusterModeSelect.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Matter types →