disambiguation(with:)
Creates an object whose resolution requires the user to select from among the specified objects.
Declaration
class func disambiguation(with mediaDestinationsToDisambiguate: [INMediaDestination]) -> SelfParameters
- mediaDestinationsToDisambiguate:
An array of Inmediadestinationreference objects for the user to choose from.
Return Value
A new INMediaDestinationResolutionResult object.
Discussion
Use this method to create a result object when more than one media destination matches the given information and you can’t definitevely pick one. Ask the user to select from among the notes that you specify.
For each INMediaDestinationReference object you provide, include enough information to be able to locate the destination later. When the user selects one of the destinations, SiriKit puts the details from your INMediaDestinationReference object into the intent and asks you to resolve the adding of media again.