One Logo Pool Ball
Matter · IOS API REFERENCE

MTRBaseClusterTemperatureControl

class · iOS 18.4+ · SDK 27.1

class MTRBaseClusterTemperatureControl

Members (36)

static · iOS 18.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 18.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 18.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 18.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 18.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 18.4+

readAttributeMaxTemperature

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

readAttributeMinTemperature

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

readAttributeSelectedTemperatureLevel

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

readAttributeStep

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

readAttributeSupportedTemperatureLevels

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

readAttributeTemperatureSetpoint

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

init

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

readAttributeAcceptedCommandList

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

readAttributeAttributeList

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

readAttributeClusterRevision

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

readAttributeFeatureMap

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

readAttributeGeneratedCommandList

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

readAttributeMaxTemperature

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

readAttributeMinTemperature

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

readAttributeSelectedTemperatureLevel

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

readAttributeStep

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

readAttributeSupportedTemperatureLevels

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

readAttributeTemperatureSetpoint

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

setTemperatureWithCompletion

TypeScript
setTemperatureWithCompletion(completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func setTemperature() async throws
method · iOS 18.4+

setTemperatureWith

TypeScript
setTemperatureWith(params: (MTRTemperatureControlClusterSetTemperatureParams) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func setTemperatureWith(_ params: MTRTemperatureControlClusterSetTemperatureParams?) async throws
method · iOS 18.4+

subscribeAttributeAcceptedCommandList

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

subscribeAttributeAttributeList

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

subscribeAttributeClusterRevision

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

subscribeAttributeFeatureMap

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

subscribeAttributeGeneratedCommandList

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

subscribeAttributeMaxTemperature

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

subscribeAttributeMinTemperature

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

subscribeAttributeSelectedTemperatureLevel

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

subscribeAttributeStep

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

subscribeAttributeSupportedTemperatureLevels

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

subscribeAttributeTemperatureSetpoint

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

Skipped declarations

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

MTRBaseClusterTemperatureControl.init()

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

All Matter types →