init
TypeScriptstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterLevelControl) | nullSwift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)class · iOS 16.1+ · SDK 27.1
class MTRClusterLevelControlstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterLevelControl) | nullSwift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)static initDeviceEndpointIDQueue(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterLevelControl) | nullSwift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)moveToClosestFrequencyWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterMoveToClosestFrequencyParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveToClosestFrequency(with params: MTRLevelControlClusterMoveToClosestFrequencyParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveToClosestFrequencyWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterMoveToClosestFrequencyParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveToClosestFrequency(with params: MTRLevelControlClusterMoveToClosestFrequencyParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveToLevelWithOnOffWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterMoveToLevelWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveToLevelWithOnOff(with params: MTRLevelControlClusterMoveToLevelWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveToLevelWithOnOffWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterMoveToLevelWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveToLevelWithOnOff(with params: MTRLevelControlClusterMoveToLevelWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveToLevelWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterMoveToLevelParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveToLevel(with params: MTRLevelControlClusterMoveToLevelParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveToLevelWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterMoveToLevelParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveToLevel(with params: MTRLevelControlClusterMoveToLevelParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveWithOnOffWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterMoveWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveWithOnOff(with params: MTRLevelControlClusterMoveWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveWithOnOffWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterMoveWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc moveWithOnOff(with params: MTRLevelControlClusterMoveWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterMoveParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc move(with params: MTRLevelControlClusterMoveParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsmoveWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterMoveParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc move(with params: MTRLevelControlClusterMoveParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?readAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?readAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?readAttributeCurrentFrequency(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeCurrentFrequency(with params: MTRReadParams?) -> [String : Any]?readAttributeCurrentLevel(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeCurrentLevel(with params: MTRReadParams?) -> [String : Any]?readAttributeDefaultMoveRate(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeDefaultMoveRate(with params: MTRReadParams?) -> [String : Any]?readAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?readAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?readAttributeMaxFrequency(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeMaxFrequency(with params: MTRReadParams?) -> [String : Any]?readAttributeMaxLevel(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeMaxLevel(with params: MTRReadParams?) -> [String : Any]?readAttributeMinFrequency(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeMinFrequency(with params: MTRReadParams?) -> [String : Any]?readAttributeMinLevel(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeMinLevel(with params: MTRReadParams?) -> [String : Any]?readAttributeOffTransitionTime(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeOffTransitionTime(with params: MTRReadParams?) -> [String : Any]?readAttributeOnLevel(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeOnLevel(with params: MTRReadParams?) -> [String : Any]?readAttributeOnOffTransitionTime(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeOnOffTransitionTime(with params: MTRReadParams?) -> [String : Any]?readAttributeOnTransitionTime(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeOnTransitionTime(with params: MTRReadParams?) -> [String : Any]?readAttributeOptions(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeOptions(with params: MTRReadParams?) -> [String : Any]?readAttributeRemainingTime(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeRemainingTime(with params: MTRReadParams?) -> [String : Any]?readAttributeStartUpCurrentLevel(params?: (MTRReadParams) | null): (Record<string, unknown>) | nullSwift declarationfunc readAttributeStartUpCurrentLevel(with params: MTRReadParams?) -> [String : Any]?stepWithOnOffWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterStepWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc stepWithOnOff(with params: MTRLevelControlClusterStepWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstepWithOnOffWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterStepWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc stepWithOnOff(with params: MTRLevelControlClusterStepWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstepWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterStepParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc step(with params: MTRLevelControlClusterStepParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstepWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterStepParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc step(with params: MTRLevelControlClusterStepParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstopWithOnOffWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterStopWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc stopWithOnOff(with params: MTRLevelControlClusterStopWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstopWithOnOffWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterStopWithOnOffParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc stopWithOnOff(with params: MTRLevelControlClusterStopWithOnOffParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstopWithExpectedValuesExpectedValueIntervalCompletion(params: MTRLevelControlClusterStopParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc stop(with params: MTRLevelControlClusterStopParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwsstopWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRLevelControlClusterStopParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc stop(with params: MTRLevelControlClusterStopParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throwswriteAttributeDefaultMoveRateWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeDefaultMoveRate(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeDefaultMoveRateWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeDefaultMoveRate(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)writeAttributeOffTransitionTimeWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeOffTransitionTime(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeOffTransitionTimeWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeOffTransitionTime(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)writeAttributeOnLevelWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeOnLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeOnLevelWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeOnLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)writeAttributeOnOffTransitionTimeWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeOnOffTransitionTime(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeOnOffTransitionTimeWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeOnOffTransitionTime(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)writeAttributeOnTransitionTimeWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeOnTransitionTime(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeOnTransitionTimeWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeOnTransitionTime(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)writeAttributeOptionsWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeOptions(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeOptionsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeOptions(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)writeAttributeStartUpCurrentLevelWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): voidSwift declarationfunc writeAttributeStartUpCurrentLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)writeAttributeStartUpCurrentLevelWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): voidSwift declarationfunc writeAttributeStartUpCurrentLevel(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRClusterLevelControl.init()
inherited init: cannot prove legal (class declares 2 custom initializers)