didReceiveData(for:)
Handle changes to data within the finance store.
Declaration
func didReceiveData(for types: [FinanceStore.BackgroundDataType]) asyncParameters
- types:
An array of
BackgroundDataTypethat indicates which types of data have changed in the Finance Store.
Discussion
The entry point of a BackgroundDeliveryExtension, called when data changes within the finance store. From here, use the FinanceKit API to query and process those changes.
Before you can receive changes, enable them for your extension using enableBackgroundDelivery(for:frequency:).