Type Method

confirmationRequiredWithItemToConfirm:forReason:

Creates an object whose resolution indicates that your app requires confirmation of the specified value.

Declaration

+ (instancetype)confirmationRequiredWithItemToConfirm:(id)itemToConfirm forReason:(NSInteger)reason;

Parameters

reason

The reason why your app is not using the specified value. For a list of possible values, see INIntentResolutionResultUnsupportedReason.

Return Value

A new INIntentResolutionResult object.

Discussion

Use this method to create a resolution result object when your app needs to confirm an intent parameter. Siri may use the returned reason to let the user know that the value isn’t supported.

See Also

Common Results

+ unsupportedWithReason:

Creates an object whose resolution indicates that your app doesn’t support the specified value.

+ needsValue

Creates an object whose resolution indicates that a required parameter value is missing.

+ notRequired

Creates an object whose resolution indicates that you don’t need the value of the parameter.

+ unsupported

Creates an object whose resolution indicates that your app doesn’t support the specified value.