A resolution result for a speakable string object associated with an intent.


class INSpeakableStringResolutionResult : INIntentResolutionResult


An INSpeakableStringResolutionResult object is what you return when resolving parameters containing an INSpeakableString object. Use the creation method that best reflects your ability to successfully resolve the parameter.

For additional resolution options, see INIntentResolutionResult.


Creating a Resolution Result Object

class func success(with: INSpeakableString) -> Self

Creates an object whose resolution involves the successful matching of the specified parameter.

class func confirmationRequired(with: INSpeakableString?) -> Self

Creates an object whose resolution requires that the user must confirm the value before proceeding.

class func disambiguation(with: [INSpeakableString]) -> Self

Creates an object whose resolution requires the user to select from among the specified objects.


Conforms To

See Also


class INStringResolutionResult

A resolution result for a string value associated with an intent.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software