Class

INDateComponentsResolutionResult

A resolution result for the date information associated with an intent.

Declaration

class INDateComponentsResolutionResult : INIntentResolutionResult

Overview

An INDateComponentsResolutionResult object is what you return when resolving parameters containing a NSDateComponents 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: DateComponents) -> Self

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

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

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

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

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

Relationships

Conforms To

See Also

Date

class INDateComponentsRangeResolutionResult

A resolution result for the range of dates associated with an intent.