One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterOtaSoftwareUpdateProvider

class · iOS 16.1+ · Deprecated in iOS 16.4 · SDK 27.1

class MTRClusterOtaSoftwareUpdateProvider

Members (4)

method · iOS 16.1+ · Deprecated in iOS 16.4

applyUpdateRequest

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

init

TypeScript
static init(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterOtaSoftwareUpdateProvider) | null
Swift declaration
init?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)
method · iOS 16.1+ · Deprecated in iOS 16.4

notifyUpdateApplied

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

queryImage

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

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 →