Class

INFileResolutionResult

A resolution result for a file associated with an intent.

Declaration

class INFileResolutionResult : INIntentResolutionResult

Overview

An INFileResolutionResult object is what you return when resolving file 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: INFile) -> Self

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

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

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

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

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

Relationships

Conforms To