Type Method

needsValue

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

Declaration

+ (instancetype)needsValue;

Return Value

A new resolution result object.

Discussion

Use this method when a property of the intent object is missing a value that your app requires. When you return a resolution of this type, Siri prompts the user to provide the information and then passes the newly received value back to you for resolution. The cycle of prompting the user and asking you to resolve the parameter continues until you resolve the parameter successfully.

See Also

Common Results

+ confirmationRequiredWithItemToConfirm:forReason:

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

+ unsupportedWithReason:

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

+ 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.