Contents

success(with:)

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

Declaration

class func success(with resolvedNote: INNote) -> Self

Parameters

  • resolvedNote:

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

Return Value

A new INNoteResolutionResult object.

Discussion

Use this method to create a result object after successfully locating the note to modify. Provide an INNote object with as much information about the note as you have available.

See Also

Creating a Resolution Result Object