public class IntentResponsePresenter<ResponseType> where ResponseType : FlintIntentResponse
The default presenter type for Intent Actions, which provides a single function that will pass the INIntentResponse to the Intent Handler’s completion function.
NoteThis will assert that the respone is the expected type. We use generics here to get close to true type safety, but because of the nature of the code generated by Xcode, we cannot have a truly statically typed presenter — so we check the type of the response at the point of submitting.
public init(completion: @escaping (ResponseType) -> Void)
Call to pass the response to Siri
public func showResponse(_ response: FlintIntentResponse)