Class

INObjectResolutionResult

A resolution result for an Object associated with an intent.

Declaration

class INObjectResolutionResult : INIntentResolutionResult

Overview

An INObjectResolutionResult object is what you return when resolving Object 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 Object

class func success(with: INObject) -> Self

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

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

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

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

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

Relationships

Conforms To

See Also

Types

class INEnumResolutionResult

A resolution result for an enumeration associated with an intent.

class INURLResolutionResult

A resolution result for the types media destinations.