Instance Method

initWithIdentifier:displayString:

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

Declaration

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

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

- initWithIdentifier:displayString:pronunciationHint:

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