One Logo Pool Ball
Matter · IOS API REFERENCE

MTRBaseClusterBinaryInputBasic

class · iOS 16.1+ · Deprecated in iOS 18.2 · SDK 27.1

class MTRBaseClusterBinaryInputBasic

Members (110)

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+ · Deprecated in iOS 18.2

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

readAttributeActiveText

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

readAttributeActiveText

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

readAttributeApplicationType

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

readAttributeApplicationType

TypeScript
static readAttributeApplicationTypeWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeApplicationType(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
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+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

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

readAttributeDescription

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

readAttributeDescription

TypeScript
static readAttributeDescriptionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeDescription(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> String
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+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

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

readAttributeInactiveText

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

readAttributeInactiveText

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

readAttributeOutOfService

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

readAttributeOutOfService

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

readAttributePolarity

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

readAttributePolarity

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

readAttributePresentValue

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

readAttributePresentValue

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

readAttributeReliability

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

readAttributeReliability

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

readAttributeStatusFlags

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

readAttributeStatusFlags

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

init

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

init

TypeScript
static initDeviceEndpointIDQueue(device: MTRBaseDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRBaseClusterBinaryInputBasic) | null
Swift declaration
init?(device: MTRBaseDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.4+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

readAttributeActiveText

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

readAttributeActiveText

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

readAttributeApplicationType

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

readAttributeApplicationType

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

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+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

readAttributeDescription

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

readAttributeDescription

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

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+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

readAttributeInactiveText

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

readAttributeInactiveText

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

readAttributeOutOfService

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

readAttributeOutOfService

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

readAttributePolarity

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

readAttributePolarity

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

readAttributePresentValue

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

readAttributePresentValue

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

readAttributeReliability

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

readAttributeReliability

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

readAttributeStatusFlags

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

readAttributeStatusFlags

TypeScript
readAttributeStatusFlagsCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeStatusFlags() async throws -> NSNumber
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+ · Deprecated in iOS 18.2

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

subscribeAttributeActiveText

TypeScript
subscribeAttributeActiveTextWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeActiveText(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+ · Deprecated in iOS 18.2

subscribeAttributeActiveText

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

subscribeAttributeApplicationType

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

subscribeAttributeApplicationType

TypeScript
subscribeAttributeApplicationTypeWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeApplicationType(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (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+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

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

subscribeAttributeDescription

TypeScript
subscribeAttributeDescriptionWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeDescription(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+ · Deprecated in iOS 18.2

subscribeAttributeDescription

TypeScript
subscribeAttributeDescriptionWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeDescription(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (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+ · Deprecated in iOS 18.2

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+ · Deprecated in iOS 18.2

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

subscribeAttributeInactiveText

TypeScript
subscribeAttributeInactiveTextWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (string) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeInactiveText(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (String?, (any Error)?) -> Void)
method · iOS 16.4+ · Deprecated in iOS 18.2

subscribeAttributeInactiveText

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

subscribeAttributeOutOfService

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

subscribeAttributeOutOfService

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

subscribeAttributePolarity

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

subscribeAttributePolarity

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

subscribeAttributePresentValue

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

subscribeAttributePresentValue

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

subscribeAttributeReliability

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

subscribeAttributeReliability

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

subscribeAttributeStatusFlags

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

subscribeAttributeStatusFlags

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

writeAttributeActiveText

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

writeAttributeActiveText

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

writeAttributeActiveText

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

writeAttributeActiveText

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

writeAttributeDescription

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

writeAttributeDescription

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

writeAttributeDescription

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

writeAttributeDescription

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

writeAttributeInactiveText

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

writeAttributeInactiveText

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

writeAttributeInactiveText

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

writeAttributeInactiveText

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

writeAttributeOutOfService

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

writeAttributeOutOfService

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

writeAttributeOutOfService

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

writeAttributeOutOfService

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

writeAttributePresentValue

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

writeAttributePresentValue

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

writeAttributePresentValue

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

writeAttributePresentValue

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

writeAttributeReliability

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

writeAttributeReliability

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

writeAttributeReliability

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

writeAttributeReliability

TypeScript
writeAttributeReliabilityWithValueParamsCompletionHandler(value: _Foundation_NSNumber, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeReliability(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.

MTRBaseClusterBinaryInputBasic.init()

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

All Matter types →