INObject
A representation of a custom intent parameter or response property.
Declaration
class INObjectOverview
Use INObject to create custom parameters and response properties for intent data that doesn’t fit into one of the System Types, such as Boolean, Duration, or Location. Define custom types and associate them with your custom intents and responses in the Intent Definition file.
Xcode uses the type defined in the Intent Definition file to generate a subclass of INObject. Create an instance of this subclass to structure data in intents and intent responses.
Topics
Creating a Custom Object
init(identifier:display:subtitle:image:)init(identifier:display:)init(identifier:display:pronunciationHint:subtitle:image:)init(identifier:display:pronunciationHint:)