success(with:)
Creates an object whose resolution involves the successful matching of the specified value.
Declaration
class func success(with resolvedVisualCodeType: INVisualCodeType) -> SelfParameters
- resolvedVisualCodeType:
The value that resolves the requested value of the intent.
Return Value
A new INVisualCodeTypeResolutionResult object.
Discussion
Use this method to create a result object when you’re able to provide a visual code of the specified type.