One Logo Pool Ball
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.4

readAttributeAcceptedCommandList

TypeScript
static readAttributeAcceptedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAcceptedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAttributeList

TypeScript
static readAttributeAttributeListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAttributeList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeCapabilityMinima

TypeScript
static readAttributeCapabilityMinimaWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (MTRBasicClusterCapabilityMinimaStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeCapabilityMinima(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRBasicClusterCapabilityMinimaStruct
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeClusterRevision

TypeScript
static readAttributeClusterRevisionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeClusterRevision(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeDataModelRevision

TypeScript
static readAttributeDataModelRevisionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeDataModelRevision(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeFeatureMap

TypeScript
static readAttributeFeatureMapWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeFeatureMap(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeGeneratedCommandList

TypeScript
static readAttributeGeneratedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeGeneratedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeHardwareVersionString

TypeScript
static readAttributeHardwareVersionStringWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeHardwareVersionString(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeHardwareVersion

TypeScript
static readAttributeHardwareVersionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeHardwareVersion(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeLocalConfigDisabled

TypeScript
static readAttributeLocalConfigDisabledWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeLocalConfigDisabled(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeLocation

TypeScript
static readAttributeLocationWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeLocation(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeManufacturingDate

TypeScript
static readAttributeManufacturingDateWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeManufacturingDate(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeNodeLabel

TypeScript
static readAttributeNodeLabelWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeNodeLabel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributePartNumber

TypeScript
static readAttributePartNumberWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributePartNumber(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductID

TypeScript
static readAttributeProductIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductLabel

TypeScript
static readAttributeProductLabelWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductLabel(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductName

TypeScript
static readAttributeProductNameWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductName(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductURL

TypeScript
static readAttributeProductURLWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductURL(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeReachable

TypeScript
static readAttributeReachableWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeReachable(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeSerialNumber

TypeScript
static readAttributeSerialNumberWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeSerialNumber(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeSoftwareVersionString

TypeScript
static readAttributeSoftwareVersionStringWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeSoftwareVersionString(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeSoftwareVersion

TypeScript
static readAttributeSoftwareVersionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeSoftwareVersion(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeUniqueID

TypeScript
static readAttributeUniqueIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeUniqueID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeVendorID

TypeScript
static readAttributeVendorIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeVendorID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeVendorName

TypeScript
static readAttributeVendorNameWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeVendorName(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
init · iOS 16.1+ · Deprecated in iOS 16.4

init

TypeScript
static init(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterBasic) | null
Swift declaration
init?(device: MTRBaseDevice, endpoint: UInt16, queue: dispatch_queue_t)
method · iOS 16.1+ · Deprecated in iOS 16.4

mfgSpecificPing

TypeScript
mfgSpecificPingCompletionHandler(completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func mfgSpecificPing() async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

mfgSpecificPing

TypeScript
mfgSpecificPingWithCompletionHandler(params: (MTRBasicClusterMfgSpecificPingParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func mfgSpecificPing(with params: MTRBasicClusterMfgSpecificPingParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAcceptedCommandList

TypeScript
readAttributeAcceptedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAttributeList

TypeScript
readAttributeAttributeListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeAttributeList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeCapabilityMinima

TypeScript
readAttributeCapabilityMinimaCompletionHandler(completionHandler: ((arg0: (MTRBasicClusterCapabilityMinimaStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeCapabilityMinima() async throws -> MTRBasicClusterCapabilityMinimaStruct
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeClusterRevision

TypeScript
readAttributeClusterRevisionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeDataModelRevision

TypeScript
readAttributeDataModelRevisionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeDataModelRevision() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeFeatureMap

TypeScript
readAttributeFeatureMapCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeGeneratedCommandList

TypeScript
readAttributeGeneratedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeHardwareVersionString

TypeScript
readAttributeHardwareVersionStringCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeHardwareVersionString() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeHardwareVersion

TypeScript
readAttributeHardwareVersionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeHardwareVersion() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeLocalConfigDisabled

TypeScript
readAttributeLocalConfigDisabledCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeLocalConfigDisabled() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeLocation

TypeScript
readAttributeLocationCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeLocation() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeManufacturingDate

TypeScript
readAttributeManufacturingDateCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeManufacturingDate() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeNodeLabel

TypeScript
readAttributeNodeLabelCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeNodeLabel() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributePartNumber

TypeScript
readAttributePartNumberCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributePartNumber() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductID

TypeScript
readAttributeProductIDCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductID() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductLabel

TypeScript
readAttributeProductLabelCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductLabel() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductName

TypeScript
readAttributeProductNameCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductName() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeProductURL

TypeScript
readAttributeProductURLCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductURL() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeReachable

TypeScript
readAttributeReachableCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeReachable() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeSerialNumber

TypeScript
readAttributeSerialNumberCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeSerialNumber() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeSoftwareVersionString

TypeScript
readAttributeSoftwareVersionStringCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeSoftwareVersionString() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeSoftwareVersion

TypeScript
readAttributeSoftwareVersionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeSoftwareVersion() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeUniqueID

TypeScript
readAttributeUniqueIDCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeUniqueID() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeVendorID

TypeScript
readAttributeVendorIDCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeVendorID() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeVendorName

TypeScript
readAttributeVendorNameCompletionHandler(completionHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeVendorName() async throws -> String
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeAcceptedCommandList

TypeScript
subscribeAttributeAcceptedCommandList(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeAttributeList

TypeScript
subscribeAttributeAttributeList(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeCapabilityMinima

TypeScript
subscribeAttributeCapabilityMinima(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (MTRBasicClusterCapabilityMinimaStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeClusterRevision

TypeScript
subscribeAttributeClusterRevision(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeDataModelRevision

TypeScript
subscribeAttributeDataModelRevision(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeFeatureMap

TypeScript
subscribeAttributeFeatureMap(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeGeneratedCommandList

TypeScript
subscribeAttributeGeneratedCommandList(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeHardwareVersionString

TypeScript
subscribeAttributeHardwareVersionString(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeHardwareVersion

TypeScript
subscribeAttributeHardwareVersion(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeLocalConfigDisabled

TypeScript
subscribeAttributeLocalConfigDisabled(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeLocation

TypeScript
subscribeAttributeLocation(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeManufacturingDate

TypeScript
subscribeAttributeManufacturingDate(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeNodeLabel

TypeScript
subscribeAttributeNodeLabel(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributePartNumber

TypeScript
subscribeAttributePartNumber(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeProductID

TypeScript
subscribeAttributeProductID(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeProductLabel

TypeScript
subscribeAttributeProductLabel(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeProductName

TypeScript
subscribeAttributeProductName(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeProductURL

TypeScript
subscribeAttributeProductURL(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeReachable

TypeScript
subscribeAttributeReachable(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeSerialNumber

TypeScript
subscribeAttributeSerialNumber(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeSoftwareVersionString

TypeScript
subscribeAttributeSoftwareVersionString(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeSoftwareVersion

TypeScript
subscribeAttributeSoftwareVersion(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeUniqueID

TypeScript
subscribeAttributeUniqueID(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeVendorID

TypeScript
subscribeAttributeVendorID(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

subscribeAttributeVendorName

TypeScript
subscribeAttributeVendorName(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func 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.4

writeAttributeLocalConfigDisabled

TypeScript
writeAttributeLocalConfigDisabledWithValueCompletionHandler(value: _Foundation_NSNumber, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeLocalConfigDisabled(withValue value: NSNumber) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeLocalConfigDisabled

TypeScript
writeAttributeLocalConfigDisabledWithValueParamsCompletionHandler(value: _Foundation_NSNumber, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeLocalConfigDisabled(withValue value: NSNumber, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeLocation

TypeScript
writeAttributeLocationWithValueCompletionHandler(value: string, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeLocation(withValue value: String) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeLocation

TypeScript
writeAttributeLocationWithValueParamsCompletionHandler(value: string, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeLocation(withValue value: String, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeNodeLabel

TypeScript
writeAttributeNodeLabelWithValueCompletionHandler(value: string, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeNodeLabel(withValue value: String) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeNodeLabel

TypeScript
writeAttributeNodeLabelWithValueParamsCompletionHandler(value: string, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func 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 →