LiveActivityIntent
An intent that starts, pauses, or otherwise modifies a Live Activity when it runs.
Declaration
protocol LiveActivityIntent : SystemIntentOverview
To gain permission for starting Live Activities, conform to this protocol. In general, your app needs to be in the foreground to start a Live Activity. However, you can use a LiveActivityIntent and start the Live Activity in its perform() method. When the system performs the intent, the system launches your app process without opening the app, performs the intent, and starts the Live Activity. For example, people might place a control in Control Center that performs a LiveActivityIntent and starts the activity without opening your app. For more information about app intents, refer to App Intents and Making actions and content discoverable and widely available.