Contents

init(identifier:display:)

Creates a custom intent object with the specified identifier and display string.

Declaration

convenience init(identifier: String?, display displayString: String)

Parameters

  • identifier:

    A string that identifies the custom object within your app.

  • displayString:

    A string that Siri displays that describes the parameter or property.

Return Value

A new INObject, or nil if the initializer couldn’t create the object.

See Also

Creating a Custom Object