Matter · IOS API REFERENCE
MTRBaseClusterBasic
class · iOS 16.1+ · Deprecated in iOS 16.4 · SDK 27.1
class MTRBaseClusterBasic
Members (84)
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.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.1+ · Deprecated in iOS 16.4readAttributeCapabilityMinima
TypeScriptstatic readAttributeCapabilityMinimaWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (MTRBasicClusterCapabilityMinimaStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeCapabilityMinima(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRBasicClusterCapabilityMinimaStruct
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.1+ · Deprecated in iOS 16.4readAttributeDataModelRevision
TypeScriptstatic readAttributeDataModelRevisionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeDataModelRevision(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
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.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.1+ · Deprecated in iOS 16.4readAttributeHardwareVersionString
TypeScriptstatic readAttributeHardwareVersionStringWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeHardwareVersionString(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeHardwareVersion
TypeScriptstatic readAttributeHardwareVersionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeHardwareVersion(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeLocalConfigDisabled
TypeScriptstatic readAttributeLocalConfigDisabledWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeLocalConfigDisabled(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeLocation
TypeScriptstatic readAttributeLocationWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeLocation(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeManufacturingDate
TypeScriptstatic readAttributeManufacturingDateWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeManufacturingDate(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeNodeLabel
TypeScriptstatic readAttributeNodeLabelWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeNodeLabel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributePartNumber
TypeScriptstatic readAttributePartNumberWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributePartNumber(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductID
TypeScriptstatic readAttributeProductIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeProductID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductLabel
TypeScriptstatic readAttributeProductLabelWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeProductLabel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductName
TypeScriptstatic readAttributeProductNameWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeProductName(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductURL
TypeScriptstatic readAttributeProductURLWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeProductURL(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeReachable
TypeScriptstatic readAttributeReachableWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeReachable(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSerialNumber
TypeScriptstatic readAttributeSerialNumberWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeSerialNumber(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSoftwareVersionString
TypeScriptstatic readAttributeSoftwareVersionStringWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeSoftwareVersionString(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSoftwareVersion
TypeScriptstatic readAttributeSoftwareVersionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeSoftwareVersion(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeUniqueID
TypeScriptstatic readAttributeUniqueIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeUniqueID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeVendorID
TypeScriptstatic readAttributeVendorIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeVendorID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeVendorName
TypeScriptstatic readAttributeVendorNameWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeVendorName(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic init(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterBasic) | null
Swift declarationinit?(device: MTRBaseDevice, endpoint: UInt16, queue: dispatch_queue_t)
method · iOS 16.1+ · Deprecated in iOS 16.4mfgSpecificPing
TypeScriptmfgSpecificPingCompletionHandler(completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc mfgSpecificPing() async throws
method · iOS 16.1+ · Deprecated in iOS 16.4mfgSpecificPing
TypeScriptmfgSpecificPingWithCompletionHandler(params: (MTRBasicClusterMfgSpecificPingParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc mfgSpecificPing(with params: MTRBasicClusterMfgSpecificPingParams?) async throws
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.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.1+ · Deprecated in iOS 16.4readAttributeCapabilityMinima
TypeScriptreadAttributeCapabilityMinimaCompletionHandler(completionHandler: ((arg0: (MTRBasicClusterCapabilityMinimaStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeCapabilityMinima() async throws -> MTRBasicClusterCapabilityMinimaStruct
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.1+ · Deprecated in iOS 16.4readAttributeDataModelRevision
TypeScriptreadAttributeDataModelRevisionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeDataModelRevision() 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.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.1+ · Deprecated in iOS 16.4readAttributeHardwareVersionString
TypeScriptreadAttributeHardwareVersionStringCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeHardwareVersionString() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeHardwareVersion
TypeScriptreadAttributeHardwareVersionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeHardwareVersion() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeLocalConfigDisabled
TypeScriptreadAttributeLocalConfigDisabledCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeLocalConfigDisabled() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeLocation
TypeScriptreadAttributeLocationCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeLocation() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeManufacturingDate
TypeScriptreadAttributeManufacturingDateCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeManufacturingDate() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeNodeLabel
TypeScriptreadAttributeNodeLabelCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeNodeLabel() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributePartNumber
TypeScriptreadAttributePartNumberCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributePartNumber() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductID
TypeScriptreadAttributeProductIDCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeProductID() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductLabel
TypeScriptreadAttributeProductLabelCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeProductLabel() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductName
TypeScriptreadAttributeProductNameCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeProductName() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeProductURL
TypeScriptreadAttributeProductURLCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeProductURL() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeReachable
TypeScriptreadAttributeReachableCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeReachable() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSerialNumber
TypeScriptreadAttributeSerialNumberCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeSerialNumber() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSoftwareVersionString
TypeScriptreadAttributeSoftwareVersionStringCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeSoftwareVersionString() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeSoftwareVersion
TypeScriptreadAttributeSoftwareVersionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeSoftwareVersion() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeUniqueID
TypeScriptreadAttributeUniqueIDCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeUniqueID() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeVendorID
TypeScriptreadAttributeVendorIDCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeVendorID() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeVendorName
TypeScriptreadAttributeVendorNameCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeVendorName() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeAcceptedCommandList
TypeScriptsubscribeAttributeAcceptedCommandList(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.1+ · Deprecated in iOS 16.4subscribeAttributeAttributeList
TypeScriptsubscribeAttributeAttributeList(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.1+ · Deprecated in iOS 16.4subscribeAttributeCapabilityMinima
TypeScriptsubscribeAttributeCapabilityMinima(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (MTRBasicClusterCapabilityMinimaStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeCapabilityMinima(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRBasicClusterCapabilityMinimaStruct?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeClusterRevision
TypeScriptsubscribeAttributeClusterRevision(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.1+ · Deprecated in iOS 16.4subscribeAttributeDataModelRevision
TypeScriptsubscribeAttributeDataModelRevision(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeDataModelRevision(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeFeatureMap
TypeScriptsubscribeAttributeFeatureMap(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.1+ · Deprecated in iOS 16.4subscribeAttributeGeneratedCommandList
TypeScriptsubscribeAttributeGeneratedCommandList(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.1+ · Deprecated in iOS 16.4subscribeAttributeHardwareVersionString
TypeScriptsubscribeAttributeHardwareVersionString(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeHardwareVersionString(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeHardwareVersion
TypeScriptsubscribeAttributeHardwareVersion(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeHardwareVersion(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeLocalConfigDisabled
TypeScriptsubscribeAttributeLocalConfigDisabled(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeLocalConfigDisabled(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeLocation
TypeScriptsubscribeAttributeLocation(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeLocation(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeManufacturingDate
TypeScriptsubscribeAttributeManufacturingDate(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeManufacturingDate(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeNodeLabel
TypeScriptsubscribeAttributeNodeLabel(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeNodeLabel(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributePartNumber
TypeScriptsubscribeAttributePartNumber(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributePartNumber(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeProductID
TypeScriptsubscribeAttributeProductID(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeProductID(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeProductLabel
TypeScriptsubscribeAttributeProductLabel(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeProductLabel(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeProductName
TypeScriptsubscribeAttributeProductName(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeProductName(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeProductURL
TypeScriptsubscribeAttributeProductURL(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeProductURL(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeReachable
TypeScriptsubscribeAttributeReachable(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeReachable(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeSerialNumber
TypeScriptsubscribeAttributeSerialNumber(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeSerialNumber(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeSoftwareVersionString
TypeScriptsubscribeAttributeSoftwareVersionString(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeSoftwareVersionString(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeSoftwareVersion
TypeScriptsubscribeAttributeSoftwareVersion(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeSoftwareVersion(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeUniqueID
TypeScriptsubscribeAttributeUniqueID(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeUniqueID(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeVendorID
TypeScriptsubscribeAttributeVendorID(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeVendorID(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeVendorName
TypeScriptsubscribeAttributeVendorName(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeVendorName(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeLocalConfigDisabled
TypeScriptwriteAttributeLocalConfigDisabledWithValueCompletionHandler(value: _Foundation_NSNumber, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeLocalConfigDisabled(withValue value: NSNumber) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeLocalConfigDisabled
TypeScriptwriteAttributeLocalConfigDisabledWithValueParamsCompletionHandler(value: _Foundation_NSNumber, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeLocalConfigDisabled(withValue value: NSNumber, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeLocation
TypeScriptwriteAttributeLocationWithValueCompletionHandler(value: string, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeLocation(withValue value: String) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeLocation
TypeScriptwriteAttributeLocationWithValueParamsCompletionHandler(value: string, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeLocation(withValue value: String, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeNodeLabel
TypeScriptwriteAttributeNodeLabelWithValueCompletionHandler(value: string, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeNodeLabel(withValue value: String) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4writeAttributeNodeLabel
TypeScriptwriteAttributeNodeLabelWithValueParamsCompletionHandler(value: string, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc writeAttributeNodeLabel(withValue value: String, params: MTRWriteParams?) async throws
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRBaseClusterBasic.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All Matter types →