Instance Method

initWithIdentifier:displayString:pronunciationHint:

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

Declaration

- (instancetype)initWithIdentifier:(NSString *)identifier displayString:(NSString *)displayString pronunciationHint:(NSString *)pronunciationHint;

Parameters

identifier

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

displayString

A string that Siri displays that describes the parameter.

pronunciationHint

Specifies a pronunciation hint for the custom parameter in a “sounds like” format.

See Also

Creating an Intent Parameter Object

- initWithIdentifier:displayString:

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