An object that provides handling of captured content and transitioning to the extension's containing app.
Members (6)
get · iOS 18.0+
sessionContentURLs
TypeScript
get sessionContentURLs(): Array<string>
Swift declaration
final var sessionContentURLs: [URL] { get }
An array of URLs that each point to a directory containing captured content.
Content in the URLs is captured during a capture
extension's <doc:LockedCameraCapture/LockedCameraCaptureSession>. These
directories are located within the capture extension's containing app's data container.
method · iOS 18.1+
endDelayingAppearance
TypeScript
endDelayingAppearance(): void
Swift declaration
final func endDelayingAppearance()
Tells the system that the application is ready to appear after delaying the appearance during a transition between the extension and the application
get · iOS 18.0+
sessionContentUpdates
TypeScript
get sessionContentUpdates(): SDKHandle
Swift declaration
final var sessionContentUpdates: some AsyncSequence<LockedCameraCaptureManager.SessionContentUpdate, Never> { get }
An `AsyncSequence` to process captured content from your capture extension.
Use this to process captured content as soon as it is available after your app launches.
method · iOS 18.1+
beginDelayingAppearance
TypeScript
beginDelayingAppearance(): void
Swift declaration
final func beginDelayingAppearance()
Tells the system that the application wants to delay the application launch during a transition between the extension and the application
final func invalidateSessionContent(at url: URL) async throws
Tells the system that the app no longer needs the directory at the URL and it can be deleted.
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.
- Parameter url: A URL from
<doc:LockedCameraCapture/LockedCameraCaptureManager/sessionContentURLs>.
The system ignores other URLs.