One Logo Pool Ball
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.2

barrierControlGoToPercent

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

barrierControlGoToPercent

TypeScript
barrierControlGoToPercentWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRBarrierControlClusterBarrierControlGoToPercentParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func barrierControlGoToPercent(with params: MTRBarrierControlClusterBarrierControlGoToPercentParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+ · Deprecated in iOS 18.2

barrierControlStop

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

barrierControlStop

TypeScript
barrierControlStopWithExpectedValuesExpectedValueIntervalCompletionHandler(expectedValues: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func barrierControlStop(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+ · Deprecated in iOS 18.2

barrierControlStop

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

barrierControlStop

TypeScript
barrierControlStopWithExpectedValuesExpectedValueIntervalCompletionHandler7501(params: (MTRBarrierControlClusterBarrierControlStopParams) | null, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func barrierControlStop(with params: MTRBarrierControlClusterBarrierControlStopParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
init · iOS 16.1+ · Deprecated in iOS 16.4

init

TypeScript
static initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterBarrierControl) | 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): (MTRClusterBarrierControl) | 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

readAttributeBarrierCapabilities

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

readAttributeBarrierCloseEvents

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

readAttributeBarrierClosePeriod

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

readAttributeBarrierCommandCloseEvents

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

readAttributeBarrierCommandOpenEvents

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

readAttributeBarrierMovingState

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

readAttributeBarrierOpenEvents

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

readAttributeBarrierOpenPeriod

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

readAttributeBarrierPosition

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

readAttributeBarrierSafetyStatus

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

writeAttributeBarrierCloseEvents

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

writeAttributeBarrierCloseEvents

TypeScript
writeAttributeBarrierCloseEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeBarrierCloseEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2

writeAttributeBarrierClosePeriod

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

writeAttributeBarrierClosePeriod

TypeScript
writeAttributeBarrierClosePeriodWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeBarrierClosePeriod(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2

writeAttributeBarrierCommandCloseEvents

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

writeAttributeBarrierCommandCloseEvents

TypeScript
writeAttributeBarrierCommandCloseEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeBarrierCommandCloseEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2

writeAttributeBarrierCommandOpenEvents

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

writeAttributeBarrierCommandOpenEvents

TypeScript
writeAttributeBarrierCommandOpenEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeBarrierCommandOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2

writeAttributeBarrierOpenEvents

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

writeAttributeBarrierOpenEvents

TypeScript
writeAttributeBarrierOpenEventsWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func writeAttributeBarrierOpenEvents(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
method · iOS 16.1+ · Deprecated in iOS 18.2

writeAttributeBarrierOpenPeriod

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

writeAttributeBarrierOpenPeriod

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