Contents

init(identifier:display:pronunciationHint:)

Creates a custom intent object with the specified attributes.

Declaration

init(identifier: String?, display displayString: String, pronunciationHint: 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.

  • pronunciationHint:

    A pronunciation hint for the custom object.

Return Value

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

See Also

Creating a Custom Object