Class

INIntegerResolutionResult

A resolution result for an integer value associated with an intent.

Declaration

class INIntegerResolutionResult : INIntentResolutionResult

Overview

An INIntegerResolutionResult object is what you return when resolving integer-based parameters of an intent object. Use the creation method that best reflects your ability to successfully resolve the parameter.

For additional resolution options, see INIntentResolutionResult.

Topics

Creating a Resolution Result Object

class func success(with: Int) -> Self

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

static func confirmationRequired(with: Int?) -> Self

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

Relationships

Conforms To

See Also

Numerical

class INDoubleResolutionResult

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

class INBooleanResolutionResult

A resolution result for a Boolean 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