Matter · IOS API REFERENCE
MTRClusterOTASoftwareUpdateProvider
class · iOS 16.4+ · SDK 27.1
class MTRClusterOTASoftwareUpdateProvider
Members (9)
method · iOS 16.4+applyUpdateRequest
TypeScriptapplyUpdateRequest(params: MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc applyUpdateRequest(with params: MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams
init · iOS 16.4+init
TypeScriptstatic init(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterOTASoftwareUpdateProvider) | null
Swift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.4+notifyUpdateApplied
TypeScriptnotifyUpdateApplied(params: MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc notifyUpdateApplied(with params: MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+queryImage
TypeScriptqueryImage(params: MTROTASoftwareUpdateProviderClusterQueryImageParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTROTASoftwareUpdateProviderClusterQueryImageResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc queryImage(with params: MTROTASoftwareUpdateProviderClusterQueryImageParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTROTASoftwareUpdateProviderClusterQueryImageResponseParams
method · iOS 16.4+readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.4+readAttributeAttributeList
TypeScriptreadAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.4+readAttributeClusterRevision
TypeScriptreadAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.4+readAttributeFeatureMap
TypeScriptreadAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.4+readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRClusterOTASoftwareUpdateProvider.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All Matter types →