One Logo Pool Ball
Matter · IOS API REFERENCE

MTRBaseClusterBridgedDeviceBasicInformation

class · iOS 16.4+ · SDK 27.1

class MTRBaseClusterBridgedDeviceBasicInformation

Members (70)

static · iOS 16.4+

readAttributeAcceptedCommandList

TypeScript
static readAttributeAcceptedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAcceptedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeAttributeList

TypeScript
static readAttributeAttributeListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAttributeList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeClusterRevision

TypeScript
static readAttributeClusterRevisionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeClusterRevision(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeFeatureMap

TypeScript
static readAttributeFeatureMapWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeFeatureMap(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeGeneratedCommandList

TypeScript
static readAttributeGeneratedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeGeneratedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeHardwareVersionString

TypeScript
static readAttributeHardwareVersionStringWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeHardwareVersionString(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeHardwareVersion

TypeScript
static readAttributeHardwareVersionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeHardwareVersion(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeManufacturingDate

TypeScript
static readAttributeManufacturingDateWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeManufacturingDate(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeNodeLabel

TypeScript
static readAttributeNodeLabelWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeNodeLabel(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributePartNumber

TypeScript
static readAttributePartNumberWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributePartNumber(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 17.0+

readAttributeProductAppearance

TypeScript
static readAttributeProductAppearanceWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductAppearance(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct
static · iOS 18.4+

readAttributeProductID

TypeScript
static readAttributeProductIDWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductID(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeProductLabel

TypeScript
static readAttributeProductLabelWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductLabel(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeProductName

TypeScript
static readAttributeProductNameWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductName(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeProductURL

TypeScript
static readAttributeProductURLWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeProductURL(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeReachable

TypeScript
static readAttributeReachableWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeReachable(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeSerialNumber

TypeScript
static readAttributeSerialNumberWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeSerialNumber(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeSoftwareVersionString

TypeScript
static readAttributeSoftwareVersionStringWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeSoftwareVersionString(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeSoftwareVersion

TypeScript
static readAttributeSoftwareVersionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeSoftwareVersion(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeUniqueID

TypeScript
static readAttributeUniqueIDWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeUniqueID(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
static · iOS 16.4+

readAttributeVendorID

TypeScript
static readAttributeVendorIDWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeVendorID(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeVendorName

TypeScript
static readAttributeVendorNameWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeVendorName(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
init · iOS 16.4+

init

TypeScript
static init(device: MTRBaseDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRBaseClusterBridgedDeviceBasicInformation) | null
Swift declaration
init?(device: MTRBaseDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 18.4+

keepActive

TypeScript
keepActive(params: MTRBridgedDeviceBasicInformationClusterKeepActiveParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func keepActive(with params: MTRBridgedDeviceBasicInformationClusterKeepActiveParams) async throws
method · iOS 16.4+

readAttributeAcceptedCommandList

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

readAttributeAttributeList

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

readAttributeClusterRevision

TypeScript
readAttributeClusterRevisionCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.4+

readAttributeFeatureMap

TypeScript
readAttributeFeatureMapCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.4+

readAttributeGeneratedCommandList

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

readAttributeHardwareVersionString

TypeScript
readAttributeHardwareVersionStringCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeHardwareVersionString() async throws -> String
method · iOS 16.4+

readAttributeHardwareVersion

TypeScript
readAttributeHardwareVersionCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeHardwareVersion() async throws -> NSNumber
method · iOS 16.4+

readAttributeManufacturingDate

TypeScript
readAttributeManufacturingDateCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeManufacturingDate() async throws -> String
method · iOS 16.4+

readAttributeNodeLabel

TypeScript
readAttributeNodeLabelCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeNodeLabel() async throws -> String
method · iOS 16.4+

readAttributePartNumber

TypeScript
readAttributePartNumberCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributePartNumber() async throws -> String
method · iOS 17.0+

readAttributeProductAppearance

TypeScript
readAttributeProductAppearanceCompletion(completion: ((arg0: (MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductAppearance() async throws -> MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct
method · iOS 18.4+

readAttributeProductID

TypeScript
readAttributeProductIDCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductID() async throws -> NSNumber
method · iOS 16.4+

readAttributeProductLabel

TypeScript
readAttributeProductLabelCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductLabel() async throws -> String
method · iOS 16.4+

readAttributeProductName

TypeScript
readAttributeProductNameCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductName() async throws -> String
method · iOS 16.4+

readAttributeProductURL

TypeScript
readAttributeProductURLCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeProductURL() async throws -> String
method · iOS 16.4+

readAttributeReachable

TypeScript
readAttributeReachableCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeReachable() async throws -> NSNumber
method · iOS 16.4+

readAttributeSerialNumber

TypeScript
readAttributeSerialNumberCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeSerialNumber() async throws -> String
method · iOS 16.4+

readAttributeSoftwareVersionString

TypeScript
readAttributeSoftwareVersionStringCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeSoftwareVersionString() async throws -> String
method · iOS 16.4+

readAttributeSoftwareVersion

TypeScript
readAttributeSoftwareVersionCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeSoftwareVersion() async throws -> NSNumber
method · iOS 16.4+

readAttributeUniqueID

TypeScript
readAttributeUniqueIDCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeUniqueID() async throws -> String
method · iOS 16.4+

readAttributeVendorID

TypeScript
readAttributeVendorIDCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeVendorID() async throws -> NSNumber
method · iOS 16.4+

readAttributeVendorName

TypeScript
readAttributeVendorNameCompletion(completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeVendorName() async throws -> String
method · iOS 16.4+

subscribeAttributeAcceptedCommandList

TypeScript
subscribeAttributeAcceptedCommandList(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeAcceptedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeAttributeList

TypeScript
subscribeAttributeAttributeList(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeAttributeList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeClusterRevision

TypeScript
subscribeAttributeClusterRevision(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeClusterRevision(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeFeatureMap

TypeScript
subscribeAttributeFeatureMap(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeFeatureMap(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeGeneratedCommandList

TypeScript
subscribeAttributeGeneratedCommandList(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeGeneratedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeHardwareVersionString

TypeScript
subscribeAttributeHardwareVersionString(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeHardwareVersionString(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeHardwareVersion

TypeScript
subscribeAttributeHardwareVersion(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeHardwareVersion(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeManufacturingDate

TypeScript
subscribeAttributeManufacturingDate(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeManufacturingDate(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeNodeLabel

TypeScript
subscribeAttributeNodeLabel(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeNodeLabel(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributePartNumber

TypeScript
subscribeAttributePartNumber(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributePartNumber(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 17.0+

subscribeAttributeProductAppearance

TypeScript
subscribeAttributeProductAppearance(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeProductAppearance(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct?, (any Error)?) -> Void)
method · iOS 18.4+

subscribeAttributeProductID

TypeScript
subscribeAttributeProductID(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeProductID(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeProductLabel

TypeScript
subscribeAttributeProductLabel(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeProductLabel(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeProductName

TypeScript
subscribeAttributeProductName(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeProductName(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeProductURL

TypeScript
subscribeAttributeProductURL(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeProductURL(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeReachable

TypeScript
subscribeAttributeReachable(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeReachable(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeSerialNumber

TypeScript
subscribeAttributeSerialNumber(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeSerialNumber(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeSoftwareVersionString

TypeScript
subscribeAttributeSoftwareVersionString(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeSoftwareVersionString(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeSoftwareVersion

TypeScript
subscribeAttributeSoftwareVersion(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeSoftwareVersion(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeUniqueID

TypeScript
subscribeAttributeUniqueID(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeUniqueID(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeVendorID

TypeScript
subscribeAttributeVendorID(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeVendorID(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeVendorName

TypeScript
subscribeAttributeVendorName(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeVendorName(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+

writeAttributeNodeLabel

TypeScript
writeAttributeNodeLabelWithValueCompletion(value: string, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeNodeLabel(withValue value: String) async throws
method · iOS 16.4+

writeAttributeNodeLabel

TypeScript
writeAttributeNodeLabelWithValueParamsCompletion(value: string, params: (MTRWriteParams) | null, completion: ((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.

MTRBaseClusterBridgedDeviceBasicInformation.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All Matter types →