Instance Property

eligibleForPrediction

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

Declaration

@property(getter=isEligibleForPrediction) BOOL eligibleForPrediction;

Discussion

To donate a user activity to Siri Shortcuts, set eligibleForPrediction to YES and make the user activity current. To make the user activity current, call the activity's becomeCurrent method, or assign it to the userActivity property on a UIViewController or UIResponder object. For more information, see Donating Shortcuts.

See Also

Donating to Siri Shortcuts

suggestedInvocationPhrase

A phrase suggested to the user when they create a shortcut.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software