Contents

IntentModes

A set of options you use to configure the runtime behavior of an app intent.

Declaration

struct IntentModes

Overview

This structure defines the mode values you can assign to the supportedModes property of your app intent. Intent modes indicate whether your app needs to run in the foreground or background when performing the app intent’s action. For example, the foreground mode requires your app intent code to run in a foreground process.

At runtime, an app intent’s systemContext property also contains information about whether the process is currently running in the foreground or background. Use that information to make additional decisions about how to perform the action. For more information, see the IntentModes.Current type.

Topics

Structures

Type Properties

Type Methods

See Also

Intent-related data