Contents

didReceiveData(for:)

Handle changes to data within the finance store.

Declaration

func didReceiveData(for types: [FinanceStore.BackgroundDataType]) async

Parameters

  • types:

    An array of BackgroundDataType that 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:).

See Also

Instance Methods