One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterValveConfigurationAndControl

class · iOS 17.6+ · SDK 27.1

class MTRClusterValveConfigurationAndControl

Members (25)

method · iOS 17.6+

close

TypeScript
closeWithExpectedValuesExpectedValueIntervalCompletion(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func close(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 17.6+

close

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

init

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

open

TypeScript
openWithExpectedValuesExpectedValueIntervalCompletion(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func open(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 17.6+

open

TypeScript
openWithExpectedValuesExpectedValueIntervalCompletion94493(params: (MTRValveConfigurationAndControlClusterOpenParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func open(with params: MTRValveConfigurationAndControlClusterOpenParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 17.6+

readAttributeAcceptedCommandList

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

readAttributeAttributeList

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

readAttributeAutoCloseTime

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

readAttributeClusterRevision

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

readAttributeCurrentLevel

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

readAttributeCurrentState

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

readAttributeDefaultOpenDuration

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

readAttributeDefaultOpenLevel

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

readAttributeFeatureMap

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

readAttributeGeneratedCommandList

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

readAttributeLevelStep

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

readAttributeOpenDuration

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

readAttributeRemainingDuration

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

readAttributeTargetLevel

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

readAttributeTargetState

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

readAttributeValveFault

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

writeAttributeDefaultOpenDuration

TypeScript
writeAttributeDefaultOpenDurationWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declaration
func writeAttributeDefaultOpenDuration(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 17.6+

writeAttributeDefaultOpenDuration

TypeScript
writeAttributeDefaultOpenDurationWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeDefaultOpenDuration(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 17.6+

writeAttributeDefaultOpenLevel

TypeScript
writeAttributeDefaultOpenLevelWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declaration
func writeAttributeDefaultOpenLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 17.6+

writeAttributeDefaultOpenLevel

TypeScript
writeAttributeDefaultOpenLevelWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeDefaultOpenLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)

Skipped declarations

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

MTRClusterValveConfigurationAndControl.init()

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

All Matter types →