---
title: isEligibleForPrediction
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsuseractivity/iseligibleforprediction
---

# isEligibleForPrediction

A Boolean value that determines whether Siri can suggest the activity as a shortcut.

## Declaration

```swift
var isEligibleForPrediction: Bool { get set }
```

## Discussion

Discussion If you aren’t yet using App Intents, set the value of this property to true if you want the system to suggest the activity as a shortcut. When the activity object is current, or associated with a view or responder in your app’s interface, the system includes the shortcut in places like Spotlight search and the Lock Screen. Set this property to false if you’re already donating App Intents to the system or want to prevent the generation of shortcuts for the activity. The default value of this property is false. For information on how to generate shortcuts using SiriKit and activity objects, see Donating Shortcuts.

## See Also

### Enabling system behaviors

- [isEligibleForHandoff](foundation/nsuseractivity/iseligibleforhandoff.md)
- [isEligibleForSearch](foundation/nsuseractivity/iseligibleforsearch.md)
- [isEligibleForPublicIndexing](foundation/nsuseractivity/iseligibleforpublicindexing.md)
- [expirationDate](foundation/nsuseractivity/expirationdate.md)
