Class

INTimeIntervalResolutionResult

A resolution result for a time interval associated with an intent.

Declaration

class INTimeIntervalResolutionResult : INIntentResolutionResult

Overview

An INTimeIntervalResolutionResult object is what you return when resolving time interval related 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

class func success(with: TimeInterval) -> Self

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

class func confirmationRequired(with: TimeInterval) -> Self

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

Relationships

Conforms To