shortcutAvailability

shortcutAvailability

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

var shortcutAvailability: INShortcutAvailabilityOptions { get set }

Discussion

When you donate an intent, include a set of relevant INShortcutAvailabilityOptions options to describe appropriate situations for offering a shortcut to the intent.

If none of the availability options apply to your intent, use the empty set. The empty set is the default value for this property.