Class

INSpeedResolutionResult

A resolution result for a speed associated with an intent.

Declaration

class INSpeedResolutionResult : INIntentResolutionResult

Overview

An INSpeedResolutionResult object is what you return when resolving speed 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: Measurement<UnitSpeed>) -> Self

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

class func confirmationRequired(with: Measurement<UnitSpeed>?) -> Self

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

class func disambiguation(with: [Measurement<UnitSpeed>]) -> Self

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

Relationships

Conforms To

See Also

Measurement

class INVolumeResolutionResult

A resolution result for a volume associated with an intent.

class INEnergyResolutionResult

A resolution result for an energy parameter associated with an intent.

class INLengthResolutionResult

A resolution result for a length associated with an intent.

class INMassResolutionResult

A resolution result for a mass associated with an intent.