Determining trigger source (Siri vs. Spotlight vs. Shortcuts) in AppIntent

Is there a supported way to differentiate the trigger source (i.e. Siri, Spotlight, or Shortcut) within the perform() method of an AppIntent?

Answered by Frameworks Engineer in 891811022

No, it is not expected that your AppIntent change behavior based on how it is called.

Accepted Answer

No, it is not expected that your AppIntent change behavior based on how it is called.

Determining trigger source (Siri vs. Spotlight vs. Shortcuts) in AppIntent
 
 
Q