Class

INDoubleResolutionResult

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

Declaration

class INDoubleResolutionResult : INIntentResolutionResult

Overview

An INDoubleResolutionResult object is what you return when resolving floating-point 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: Double) -> Self

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

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

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

Relationships

Conforms To

See Also

Numerical

class INIntegerResolutionResult

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

class INBooleanResolutionResult

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