Matter · IOS API REFERENCE
MTRClusterBarrierControl
class · iOS 16.1+ · Deprecated in iOS 18.2 · SDK 27.1
class MTRClusterBarrierControl
Members (35)
method · iOS 16.4+ · Deprecated in iOS 18.2barrierControlGoToPercent
TypeScriptbarrierControlGoToPercentWithExpectedValuesExpectedValueIntervalCompletion(params: MTRBarrierControlClusterBarrierControlGoToPercentParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc barrierControlGoToPercent(with params: MTRBarrierControlClusterBarrierControlGoToPercentParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4barrierControlGoToPercent
TypeScriptbarrierControlGoToPercentWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRBarrierControlClusterBarrierControlGoToPercentParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc barrierControlGoToPercent(with params: MTRBarrierControlClusterBarrierControlGoToPercentParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+ · Deprecated in iOS 18.2barrierControlStop
TypeScriptbarrierControlStopWithExpectedValuesExpectedValueIntervalCompletion(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc barrierControlStop(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4barrierControlStop
TypeScriptbarrierControlStopWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc barrierControlStop(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+ · Deprecated in iOS 18.2barrierControlStop
TypeScriptbarrierControlStopWithExpectedValuesExpectedValueIntervalCompletion33099(params: (MTRBarrierControlClusterBarrierControlStopParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc barrierControlStop(with params: MTRBarrierControlClusterBarrierControlStopParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4barrierControlStop
TypeScriptbarrierControlStopWithExpectedValuesExpectedValueIntervalCompletionHandler7501(params: (MTRBarrierControlClusterBarrierControlStopParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc barrierControlStop(with params: MTRBarrierControlClusterBarrierControlStopParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterBarrierControl) | null
Swift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+ · Deprecated in iOS 18.2init
TypeScriptstatic initDeviceEndpointIDQueue(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterBarrierControl) | null
Swift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeAttributeList
TypeScriptreadAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierCapabilities
TypeScriptreadAttributeBarrierCapabilities(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierCapabilities(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierCloseEvents
TypeScriptreadAttributeBarrierCloseEvents(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierCloseEvents(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierClosePeriod
TypeScriptreadAttributeBarrierClosePeriod(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierClosePeriod(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierCommandCloseEvents
TypeScriptreadAttributeBarrierCommandCloseEvents(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierCommandCloseEvents(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierCommandOpenEvents
TypeScriptreadAttributeBarrierCommandOpenEvents(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierCommandOpenEvents(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierMovingState
TypeScriptreadAttributeBarrierMovingState(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierMovingState(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierOpenEvents
TypeScriptreadAttributeBarrierOpenEvents(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierOpenEvents(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierOpenPeriod
TypeScriptreadAttributeBarrierOpenPeriod(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierOpenPeriod(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierPosition
TypeScriptreadAttributeBarrierPosition(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierPosition(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeBarrierSafetyStatus
TypeScriptreadAttributeBarrierSafetyStatus(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeBarrierSafetyStatus(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeClusterRevision
TypeScriptreadAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeFeatureMap
TypeScriptreadAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierCloseEvents
TypeScriptwriteAttributeBarrierCloseEventsWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributeBarrierCloseEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierCloseEvents
TypeScriptwriteAttributeBarrierCloseEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributeBarrierCloseEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierClosePeriod
TypeScriptwriteAttributeBarrierClosePeriodWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributeBarrierClosePeriod(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierClosePeriod
TypeScriptwriteAttributeBarrierClosePeriodWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributeBarrierClosePeriod(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierCommandCloseEvents
TypeScriptwriteAttributeBarrierCommandCloseEventsWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributeBarrierCommandCloseEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierCommandCloseEvents
TypeScriptwriteAttributeBarrierCommandCloseEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributeBarrierCommandCloseEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierCommandOpenEvents
TypeScriptwriteAttributeBarrierCommandOpenEventsWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributeBarrierCommandOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierCommandOpenEvents
TypeScriptwriteAttributeBarrierCommandOpenEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributeBarrierCommandOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierOpenEvents
TypeScriptwriteAttributeBarrierOpenEventsWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributeBarrierOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierOpenEvents
TypeScriptwriteAttributeBarrierOpenEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributeBarrierOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierOpenPeriod
TypeScriptwriteAttributeBarrierOpenPeriodWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributeBarrierOpenPeriod(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 16.1+ · Deprecated in iOS 18.2writeAttributeBarrierOpenPeriod
TypeScriptwriteAttributeBarrierOpenPeriodWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributeBarrierOpenPeriod(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.
MTRClusterBarrierControl.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Matter types →