init
TypeScriptstatic init(appExtensionIdentity: AppExtensionIdentity, onInterruption?: (() => void)): AppExtensionProcess_ConfigurationSwift declarationinit(appExtensionIdentity: AppExtensionIdentity, onInterruption: @escaping () -> Void = {})struct · iOS 26.0+ · SDK 27.1
struct ConfigurationA structure that holds the identity of an app extension and process-related details. This type manages the configuration details you use to create an ``AppExtensionProcess`` structure. Create an instance of this type and initialize it with the identity of the app extension you want and a closure to run if the app extension terminates unexpectedly.
static init(appExtensionIdentity: AppExtensionIdentity, onInterruption?: (() => void)): AppExtensionProcess_ConfigurationSwift declarationinit(appExtensionIdentity: AppExtensionIdentity, onInterruption: @escaping () -> Void = {})get appExtensionIdentity(): AppExtensionIdentitySwift declarationvar appExtensionIdentity: AppExtensionIdentity { get set }The identifying information for the app extension you want to launch. Specify this value at initialization time. Fetch identity information from the ``AppExtensionPoint/Monitor`` type.
set appExtensionIdentity(value: AppExtensionIdentity)Swift declarationvar appExtensionIdentity: AppExtensionIdentity { get set }The identifying information for the app extension you want to launch. Specify this value at initialization time. Fetch identity information from the ``AppExtensionPoint/Monitor`` type.
get onInterruption(): (() => Promise<void>)Swift declarationvar onInterruption: () -> VoidThe closure to run if the app extension’s process exits unexpectedly. Use your closure to respond to the loss of the app extension process. For example, use it to try and reestablish connection to the app extension or to remove the app extension from the list of active extensions.
set onInterruption(value: (() => void))Swift declarationvar onInterruption: () -> VoidThe closure to run if the app extension’s process exits unexpectedly. Use your closure to respond to the loss of the app extension process. For example, use it to try and reestablish connection to the app extension or to remove the app extension from the list of active extensions.
No declarations were skipped in this snapshot.