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 throwsParameters
- url:
A URL from Sessioncontenturls. The system ignores other URLs.
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.