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.