Instance Method

resolveDateCreatedForSearchCallHistory:withCompletion:

Resolves the range of dates for the search.

Declaration

- (void)resolveDateCreatedForSearchCallHistory:(INSearchCallHistoryIntent *)intent withCompletion:(void (^)(INDateComponentsRangeResolutionResult *resolutionResult))completion;

Parameters

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 block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block 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 with the date range that you are able to search.

Discussion

When resolving the set of dates, always strive toward a successful resolution, but feel free to return a different result where appropriate. For example, if you do not support searching for records that are more than one year old, you could return an unsupported resolution if the user specifies a date that is more than one year in the past.

See Also

Resolving the Intent Parameters

- resolveCallTypesForSearchCallHistory:withCompletion:

Resolves the search criteria for the call type.

- resolveCallTypeForSearchCallHistory:withCompletion:

Resolves the search criteria for the call type.

Deprecated
- resolveRecipientForSearchCallHistory:withCompletion:

Resolves the search criteria for the recipients.

- resolveUnseenForSearchCallHistory:withCompletion:

Resolves whether you can search for calls that the user has not yet seen.