One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterOTASoftwareUpdateRequestor

class · iOS 16.4+ · SDK 27.1

class MTRClusterOTASoftwareUpdateRequestor

Members (13)

method · iOS 16.4+

announceOTAProvider

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

init

TypeScript
static init(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterOTASoftwareUpdateRequestor) | null
Swift declaration
init?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.4+

readAttributeAcceptedCommandList

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

readAttributeAttributeList

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

readAttributeClusterRevision

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

readAttributeDefaultOTAProviders

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

readAttributeFeatureMap

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

readAttributeGeneratedCommandList

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

readAttributeUpdatePossible

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

readAttributeUpdateStateProgress

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

readAttributeUpdateState

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

writeAttributeDefaultOTAProviders

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

writeAttributeDefaultOTAProviders

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

MTRClusterOTASoftwareUpdateRequestor.init()

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

All Matter types →