One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterServiceArea

class · iOS 18.4+ · SDK 27.1

class MTRClusterServiceArea

Members (14)

init · iOS 18.4+

init

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

readAttributeAttributeList

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

readAttributeCurrentArea

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

readAttributeEstimatedEndTime

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

readAttributeProgress

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

readAttributeSelectedAreas

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

readAttributeSupportedAreas

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

readAttributeSupportedMaps

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

selectAreas

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

skip

TypeScript
skip(params: MTRServiceAreaClusterSkipAreaParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRServiceAreaClusterSkipAreaResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func skip(with params: MTRServiceAreaClusterSkipAreaParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRServiceAreaClusterSkipAreaResponseParams

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MTRClusterServiceArea.init()

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

All Matter types →