Type Method

disambiguation(with:)

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

Declaration

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

Parameters

mediaDestinationsToDisambiguate

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

Return Value

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.

See Also

Creating a Resolution Result Object

class func success(with: INMediaDestination) -> Self

Creates an object whose resolution involves successfully matching the specified parameter.

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

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