Contents

invalidateSessionContent(at:)

Tells the system that the app no longer needs the directory at the URL and it can be deleted.

Declaration

final func invalidateSessionContent(at url: URL) async throws

Parameters

Discussion

The directory at the URL contains captured content for a session. Store the captured content appropriately before calling this method, otherwise the system deletes it.