Contents

init(identifier:display:pronunciationHint:subtitle:image:)

Creates a custom intent object with the specified attributes.

Declaration

convenience init(identifier: String?, display displayString: String, pronunciationHint: String?, subtitle subtitleString: String?, image displayImage: INImage?)

Parameters

  • identifier:

    A string that identifies the custom object within your app.

  • displayString:

    A string that concisely describes the custom object.

  • pronunciationHint:

    A pronunciation hint for the custom object.

  • subtitleString:

    A string that adds secondary information about the object.

  • displayImage:

    An image representing the object.

Return Value

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

See Also

Creating a Custom Object