One Logo Pool Ball
Matter · IOS API REFERENCE

MTRBaseClusterNetworkCommissioning

class · iOS 16.1+ · SDK 27.1

class MTRBaseClusterNetworkCommissioning

Members (106)

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.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.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.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.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.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.1+ · Deprecated in iOS 16.4

readAttributeConnectMaxTimeSeconds

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

readAttributeConnectMaxTimeSeconds

TypeScript
static readAttributeConnectMaxTimeSecondsWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeConnectMaxTimeSeconds(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, 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.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.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.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.1+ · Deprecated in iOS 16.4

readAttributeInterfaceEnabled

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

readAttributeInterfaceEnabled

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

readAttributeLastConnectErrorValue

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

readAttributeLastConnectErrorValue

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

readAttributeLastNetworkID

TypeScript
static readAttributeLastNetworkIDWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeLastNetworkID(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> Data
static · iOS 16.4+

readAttributeLastNetworkID

TypeScript
static readAttributeLastNetworkIDWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeLastNetworkID(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> Data
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeLastNetworkingStatus

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

readAttributeLastNetworkingStatus

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

readAttributeMaxNetworks

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

readAttributeMaxNetworks

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

readAttributeNetworks

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

readAttributeNetworks

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

readAttributeScanMaxTimeSeconds

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

readAttributeScanMaxTimeSeconds

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

readAttributeSupportedThreadFeatures

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

readAttributeSupportedWiFiBands

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

readAttributeThreadVersion

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

addOrUpdateThreadNetwork

TypeScript
addOrUpdateThreadNetworkWithCompletion(params: MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams, completion: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func addOrUpdateThreadNetwork(with params: MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

addOrUpdateThreadNetwork

TypeScript
addOrUpdateThreadNetworkWithCompletionHandler(params: MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams, completionHandler: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func addOrUpdateThreadNetwork(with params: MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.4+

addOrUpdateWiFiNetwork

TypeScript
addOrUpdateWiFiNetworkWithCompletion(params: MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams, completion: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func addOrUpdateWiFiNetwork(with params: MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

addOrUpdateWiFiNetwork

TypeScript
addOrUpdateWiFiNetworkWithCompletionHandler(params: MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams, completionHandler: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func addOrUpdateWiFiNetwork(with params: MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.4+

connectNetwork

TypeScript
connectNetworkWithCompletion(params: MTRNetworkCommissioningClusterConnectNetworkParams, completion: ((arg0: (MTRNetworkCommissioningClusterConnectNetworkResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func connectNetwork(with params: MTRNetworkCommissioningClusterConnectNetworkParams) async throws -> MTRNetworkCommissioningClusterConnectNetworkResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

connectNetwork

TypeScript
connectNetworkWithCompletionHandler(params: MTRNetworkCommissioningClusterConnectNetworkParams, completionHandler: ((arg0: (MTRNetworkCommissioningClusterConnectNetworkResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func connectNetwork(with params: MTRNetworkCommissioningClusterConnectNetworkParams) async throws -> MTRNetworkCommissioningClusterConnectNetworkResponseParams
init · iOS 16.1+ · Deprecated in iOS 16.4

init

TypeScript
static initDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterNetworkCommissioning) | null
Swift declaration
init?(device: MTRBaseDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+

init

TypeScript
static initDeviceEndpointIDQueue(device: MTRBaseDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRBaseClusterNetworkCommissioning) | null
Swift declaration
init?(device: MTRBaseDevice, endpointID: NSNumber, queue: dispatch_queue_t)
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.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.4+

readAttributeAttributeList

TypeScript
readAttributeAttributeListCompletion(completion: ((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

readAttributeAttributeList

TypeScript
readAttributeAttributeListCompletionHandler(completionHandler: ((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.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.4+

readAttributeConnectMaxTimeSeconds

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

readAttributeConnectMaxTimeSeconds

TypeScript
readAttributeConnectMaxTimeSecondsCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeConnectMaxTimeSeconds() 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.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.4+

readAttributeGeneratedCommandList

TypeScript
readAttributeGeneratedCommandListCompletion(completion: ((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

readAttributeGeneratedCommandList

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

readAttributeInterfaceEnabled

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

readAttributeInterfaceEnabled

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

readAttributeLastConnectErrorValue

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

readAttributeLastConnectErrorValue

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

readAttributeLastNetworkID

TypeScript
readAttributeLastNetworkIDCompletion(completion: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeLastNetworkID() async throws -> Data
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeLastNetworkID

TypeScript
readAttributeLastNetworkIDCompletionHandler(completionHandler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeLastNetworkID() async throws -> Data
method · iOS 16.4+

readAttributeLastNetworkingStatus

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

readAttributeLastNetworkingStatus

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

readAttributeMaxNetworks

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

readAttributeMaxNetworks

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

readAttributeNetworks

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

readAttributeNetworks

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

readAttributeScanMaxTimeSeconds

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

readAttributeScanMaxTimeSeconds

TypeScript
readAttributeScanMaxTimeSecondsCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeScanMaxTimeSeconds() async throws -> NSNumber
method · iOS 18.4+

readAttributeSupportedThreadFeatures

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

readAttributeSupportedWiFiBands

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

readAttributeThreadVersion

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

removeNetwork

TypeScript
removeNetworkWithCompletion(params: MTRNetworkCommissioningClusterRemoveNetworkParams, completion: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func removeNetwork(with params: MTRNetworkCommissioningClusterRemoveNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

removeNetwork

TypeScript
removeNetworkWithCompletionHandler(params: MTRNetworkCommissioningClusterRemoveNetworkParams, completionHandler: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func removeNetwork(with params: MTRNetworkCommissioningClusterRemoveNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.4+

reorderNetwork

TypeScript
reorderNetworkWithCompletion(params: MTRNetworkCommissioningClusterReorderNetworkParams, completion: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func reorderNetwork(with params: MTRNetworkCommissioningClusterReorderNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

reorderNetwork

TypeScript
reorderNetworkWithCompletionHandler(params: MTRNetworkCommissioningClusterReorderNetworkParams, completionHandler: ((arg0: (MTRNetworkCommissioningClusterNetworkConfigResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func reorderNetwork(with params: MTRNetworkCommissioningClusterReorderNetworkParams) async throws -> MTRNetworkCommissioningClusterNetworkConfigResponseParams
method · iOS 17.4+

scanNetworks

TypeScript
scanNetworksCompletion(completion: ((arg0: (MTRNetworkCommissioningClusterScanNetworksResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func scanNetworks() async throws -> MTRNetworkCommissioningClusterScanNetworksResponseParams
method · iOS 16.4+

scanNetworks

TypeScript
scanNetworksWithCompletion(params: (MTRNetworkCommissioningClusterScanNetworksParams) | null, completion: ((arg0: (MTRNetworkCommissioningClusterScanNetworksResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func scanNetworks(with params: MTRNetworkCommissioningClusterScanNetworksParams?) async throws -> MTRNetworkCommissioningClusterScanNetworksResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

scanNetworks

TypeScript
scanNetworksWithCompletionHandler(params: (MTRNetworkCommissioningClusterScanNetworksParams) | null, completionHandler: ((arg0: (MTRNetworkCommissioningClusterScanNetworksResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func scanNetworks(with params: MTRNetworkCommissioningClusterScanNetworksParams?) async throws -> MTRNetworkCommissioningClusterScanNetworksResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeAcceptedCommandList

TypeScript
subscribeAttributeAcceptedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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.4+

subscribeAttributeAcceptedCommandList

TypeScript
subscribeAttributeAcceptedCommandListWithSubscriptionEstablishedReportHandler(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.1+ · Deprecated in iOS 16.4

subscribeAttributeAttributeList

TypeScript
subscribeAttributeAttributeListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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.4+

subscribeAttributeAttributeList

TypeScript
subscribeAttributeAttributeListWithSubscriptionEstablishedReportHandler(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.1+ · Deprecated in iOS 16.4

subscribeAttributeClusterRevision

TypeScript
subscribeAttributeClusterRevisionWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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.4+

subscribeAttributeClusterRevision

TypeScript
subscribeAttributeClusterRevisionWithSubscriptionEstablishedReportHandler(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.1+ · Deprecated in iOS 16.4

subscribeAttributeConnectMaxTimeSeconds

TypeScript
subscribeAttributeConnectMaxTimeSecondsWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeConnectMaxTimeSeconds(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeConnectMaxTimeSeconds

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

subscribeAttributeFeatureMap

TypeScript
subscribeAttributeFeatureMapWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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.4+

subscribeAttributeFeatureMap

TypeScript
subscribeAttributeFeatureMapWithSubscriptionEstablishedReportHandler(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.1+ · Deprecated in iOS 16.4

subscribeAttributeGeneratedCommandList

TypeScript
subscribeAttributeGeneratedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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.4+

subscribeAttributeGeneratedCommandList

TypeScript
subscribeAttributeGeneratedCommandListWithSubscriptionEstablishedReportHandler(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.1+ · Deprecated in iOS 16.4

subscribeAttributeInterfaceEnabled

TypeScript
subscribeAttributeInterfaceEnabledWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeInterfaceEnabled(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeInterfaceEnabled

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

subscribeAttributeLastConnectErrorValue

TypeScript
subscribeAttributeLastConnectErrorValueWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeLastConnectErrorValue(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeLastConnectErrorValue

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

subscribeAttributeLastNetworkID

TypeScript
subscribeAttributeLastNetworkIDWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeLastNetworkID(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (Data?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeLastNetworkID

TypeScript
subscribeAttributeLastNetworkIDWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (ArrayBuffer) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeLastNetworkID(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (Data?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeLastNetworkingStatus

TypeScript
subscribeAttributeLastNetworkingStatusWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeLastNetworkingStatus(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeLastNetworkingStatus

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

subscribeAttributeMaxNetworks

TypeScript
subscribeAttributeMaxNetworksWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeMaxNetworks(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeMaxNetworks

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

subscribeAttributeNetworks

TypeScript
subscribeAttributeNetworksWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeNetworks(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeNetworks

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

subscribeAttributeScanMaxTimeSeconds

TypeScript
subscribeAttributeScanMaxTimeSecondsWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(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 subscribeAttributeScanMaxTimeSeconds(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeScanMaxTimeSeconds

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

subscribeAttributeSupportedThreadFeatures

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

subscribeAttributeSupportedWiFiBands

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

subscribeAttributeThreadVersion

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

writeAttributeInterfaceEnabled

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

writeAttributeInterfaceEnabled

TypeScript
writeAttributeInterfaceEnabledWithValueCompletionHandler(value: _Foundation_NSNumber, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeInterfaceEnabled(withValue value: NSNumber) async throws
method · iOS 16.4+

writeAttributeInterfaceEnabled

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

writeAttributeInterfaceEnabled

TypeScript
writeAttributeInterfaceEnabledWithValueParamsCompletionHandler(value: _Foundation_NSNumber, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeInterfaceEnabled(withValue value: NSNumber, params: MTRWriteParams?) async throws

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MTRBaseClusterNetworkCommissioning.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All Matter types →