One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterEnergyEVSE

class · iOS 18.4+ · SDK 27.1

class MTRClusterEnergyEVSE

Members (39)

method · iOS 18.4+

clearTargets

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

clearTargets

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

disable

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

disable

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

enableCharging

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

getTargetsWithExpectedValues

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

getTargetsWith

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

init

TypeScript
static init(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterEnergyEVSE) | 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+

readAttributeApproximateEVEfficiency

TypeScript
readAttributeApproximateEVEfficiency(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeApproximateEVEfficiency(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+

readAttributeChargingEnabledUntil

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

readAttributeCircuitCapacity

TypeScript
readAttributeCircuitCapacity(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeCircuitCapacity(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+

readAttributeFaultState

TypeScript
readAttributeFaultState(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeFaultState(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+

readAttributeMaximumChargeCurrent

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

readAttributeMinimumChargeCurrent

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

readAttributeNextChargeRequiredEnergy

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

readAttributeNextChargeStartTime

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

readAttributeNextChargeTargetSoC

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

readAttributeNextChargeTargetTime

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

readAttributeRandomizationDelayWindow

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

readAttributeSessionDuration

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

readAttributeSessionEnergyCharged

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

readAttributeSessionID

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

readAttributeState

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

readAttributeSupplyState

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

readAttributeUserMaximumChargeCurrent

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

setTargetsWith

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

startDiagnostics

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

startDiagnostics

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

writeAttributeApproximateEVEfficiency

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

writeAttributeApproximateEVEfficiency

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

writeAttributeRandomizationDelayWindow

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

writeAttributeRandomizationDelayWindow

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

writeAttributeUserMaximumChargeCurrent

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

writeAttributeUserMaximumChargeCurrent

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

MTRClusterEnergyEVSE.init()

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

All Matter types →