Contents

success(with:)

Creates an object with a resolution that involves the successful matching of the specified parameter.

Declaration

class func success(with resolvedOutgoingMessageType: INOutgoingMessageType) -> Self

Parameters

  • resolvedOutgoingMessageType:

    The object that resolves the requested parameter of the intent. This value may be different than the one the intent object specifies.

Return Value

A new INOutgoingMessageTypeResolutionResult object.

Discussion

Use this method to create a result object when you can send a message in the format the intent specifies.

See Also

Creating a Resolution Result