Can an INIntent property be given the value "Ask Each Time"?

Let’s say I’ve defined a custom intent, called FooIntent, in an .intentdefinition file. It has a single parameter, bar, of type Decimal, for which: – User can supply value in Siri and Shortcuts app is active. – Default Value is 0. Its autogenerated class definition now looks like this: public class FooIntent: INIntent { @NSManaged […]

By Naftali Beder
Published
Categorised as ios, sirishortcuts, swift

Specify "Ask Each Time" as default for a parameter in Siri intent

When displaying an instance of INUIAddVoiceShortcutViewController, I want to let one of the shortcut’s intent’s parameters (of type Decimal) default to Ask Each Time. Right now, it defaults to the Default Value value in the .intentdefinition file. (This field resets to 0 if left blank.) Is there any way to define an intent such that […]

By Naftali Beder
Published
Categorised as ios, sirikit, sirishortcuts

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq