Creates an object whose resolution requires the user to select from among the specified objects.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Framework
- Intents
Declaration
+ (instancetype)disambiguationWithMassToDisambiguate:(NSArray<NSMeasurement<NSUnit Mass *> *> *)massToDisambiguate;
Parameters
massToDisambiguate
An array of
NSUnit
objects for the user to choose from.Mass
Return Value
A new INMass
object.
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.