INParameter

INParameter

INParameter Class of Intents A parameter of an interaction object.

class INParameter

Overview

Use a parameter object to identify a property of an INInteraction object. To fetch the value of the property, use the parameterValue(for:)) method of the INInteraction object.

You use parameters when configuring a custom user interface for your Siri or Maps interactions. SiriKit passes parameter objects to you during the configuration of your interface. When configuring your interface, you can also create parameter objects to represent properties that you display in addition to the ones that SiriKit provides.