Type Method

disambiguationWithEnergyToDisambiguate:

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

Declaration

+ (instancetype)disambiguationWithEnergyToDisambiguate:(NSArray<NSMeasurement<NSUnitEnergy *> *> *)energyToDisambiguate;

Parameters

energyToDisambiguate

An array of NSUnitEnergy objects for the user to choose from.

Return Value

Discussion

Use this method to create a result object when there’s more one value that might match the given parameter. Siri prompts the user to select from among the objects you provide.

See Also

Creating a Resolution Result Object

+ successWithResolvedEnergy:

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

Beta
+ confirmationRequiredWithEnergyToConfirm:

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

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software