One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterOnOffSwitchConfiguration

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

class MTRClusterOnOffSwitchConfiguration

Members (11)

init · iOS 16.1+ · Deprecated in iOS 16.4

init

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

init

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

readAttributeAcceptedCommandList

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

readAttributeAttributeList

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

readAttributeClusterRevision

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

readAttributeFeatureMap

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

readAttributeGeneratedCommandList

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

readAttributeSwitchActions

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

readAttributeSwitchType

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

writeAttributeSwitchActions

TypeScript
writeAttributeSwitchActionsWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declaration
func writeAttributeSwitchActions(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2

writeAttributeSwitchActions

TypeScript
writeAttributeSwitchActionsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeSwitchActions(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.

MTRClusterOnOffSwitchConfiguration.init()

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

All Matter types →