getRecentPlaceSearches

The member's recent place searches, most recent first.

Use it to show the member's recent picks under the search box before they type. At most ten are kept (see rememberPlaceSearch).

Stored on the device and cleared with the session; never sent to the backend.

Android (Kotlin)

lifecycleScope.launch {
showRecentSearches(AFCore.locations().getRecentPlaceSearches())
}

iOS (Swift)

Task {
let recent = (try? await AFCore.shared.locations().getRecentPlaceSearches()) ?? []
showRecentSearches(recent)
}

Return

The remembered PlaceSuggestion list; empty when there are none.