Class

INURLResolutionResult

A resolution result for the types media destinations.

Declaration

class INURLResolutionResult : INIntentResolutionResult

Overview

You return an INURLResolutionResult object when resolving parameters containing an NSURL value. Use the creation method that best reflects your ability to resolve the parameter successfully.

For additional resolution operators, see INIntentResolutionResult.

Topics

Creating a Resolution Result

class func success(with: URL) -> Self

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

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

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

class func disambiguation(with: [URL]) -> 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 INObjectResolutionResult

A resolution result for an Object associated with an intent.