Initializer

init(identifier:display:)

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

Declaration

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

Parameters

identifier

A string that identifies the custom parameter object within your app.

displayString

A string that Siri displays that describes the parameter.

See Also

Creating an Intent Parameter Object

init(identifier: String?, display: String, pronunciationHint: String?)

Creates a custom parameter object with the specified identifier, display string, and pronunciation hint.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software