One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterWaterHeaterMode

class · iOS 18.4+ · SDK 27.1

class MTRClusterWaterHeaterMode

Members (9)

method · iOS 18.4+

changeToMode

TypeScript
changeToMode(params: MTRWaterHeaterModeClusterChangeToModeParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRWaterHeaterModeClusterChangeToModeResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func changeToMode(with params: MTRWaterHeaterModeClusterChangeToModeParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRWaterHeaterModeClusterChangeToModeResponseParams
init · iOS 18.4+

init

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

readAttributeAcceptedCommandList

TypeScript
readAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeAttributeList

TypeScript
readAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeClusterRevision

TypeScript
readAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeCurrentMode

TypeScript
readAttributeCurrentMode(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeCurrentMode(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeFeatureMap

TypeScript
readAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeGeneratedCommandList

TypeScript
readAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeSupportedModes

TypeScript
readAttributeSupportedModes(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeSupportedModes(with params: MTRReadParams?) -> [String : Any]?

Skipped declarations

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

MTRClusterWaterHeaterMode.init()

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

All Matter types →