---
title: shortcutAvailability
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsuseractivity/shortcutavailability
---

# shortcutAvailability

A set of defined contexts in which an intent or activity might be relevant to a user.

## Declaration

```swift
var shortcutAvailability: INShortcutAvailabilityOptions { get set }
```

## Discussion

Discussion When you donate an activity, include a set of relevant INShortcutAvailabilityOptions to describe appropriate categories for offering a shortcut to the activity. If none of the availability options apply to your intent, use the empty set. The empty set is the default value for this property. note: To access the suggestedInvocationPhrase property, import the Intents framework.

## See Also

### Providing SiriKit with activity details

- [interaction](foundation/nsuseractivity/interaction.md)
- [suggestedInvocationPhrase](foundation/nsuseractivity/suggestedinvocationphrase.md)
