INObject
INObject
INObject Class of Intents A representation of a custom intent parameter or response property.
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.
Tip: If your app supports intents on iOS 12, use the Custom parameter type in your Intent Definition file and create instances of `
doc://com.apple.sirikit/documentation/Intents/INObject` (not a subclass) for custom parameters of those intents.