getDestinationHistory

suspend fun NavManagerService.getDestinationHistory(pageNumber: Int, pageSize: Int = 10): Result<List<SearchItem>>

Deprecated

Please use getDestinationHistoryV2

Retrieves the user's destination search history with pagination support. When empty list is returned, the previous page was the last one

Parameters

pageNumber

The page number to retrieve (1-indexed). Must be >= 1. Page 1 contains the most recent destinations.

pageSize

The number of items per page. Must be >= 1. Max value 10.