resolveUnseen(for:with:)
Resolves whether you can search for calls that the user hasn’t yet seen.
Declaration
optional func resolveUnseen(for intent: INSearchCallHistoryIntent, with completion: @escaping @Sendable (INBooleanResolutionResult) -> Void)optional func resolveUnseen(for intent: INSearchCallHistoryIntent) async -> INBooleanResolutionResultParameters
- intent:
The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- completion:
The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:
- resolutionResult
The object containing the details of your proposed resolution. For successful resolutions, create a resolution result that contains whether you can search for calls that are currently unseen by the user.
Discussion
Implement this method to let SiriKit know whether you can search for unseen calls. Disambiguation and prompting the user for more information isn’t supported. Your implementation should provide a successful resolution with the requested value.