Type Method

unsupportedWithReason:

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

Declaration

+ (instancetype)unsupportedWithReason:(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 doesn’t support an intent parameter. Siri may use the returned reason to let the user know that the value isn’t supported.

See Also

Common Results

+ confirmationRequiredWithItemToConfirm:forReason:

Creates an object whose resolution indicates that your app requires confirmation of 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.