Class

INBooleanResolutionResult

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

Declaration

class INBooleanResolutionResult : INIntentResolutionResult

Overview

Return an INBooleanResolutionResult object when resolving intent parameters that contain a Boolean value. 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: Bool) -> Self

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

static func confirmationRequired(with: Bool?) -> 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 INDoubleResolutionResult

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