Search

interface Search

Functions

Link copied to clipboard
abstract suspend fun clearLocalSearchResults()
Link copied to clipboard
abstract fun createAlbumsFlow(userId: Long): Flow<List<AlbumItem>>
abstract fun createAlbumsFlow(userId: Long, albumTypes: List<AlbumType>): Flow<List<AlbumItem>>
Link copied to clipboard
abstract fun createAlbumsPagingFlow(userId: Long, albumTypes: List<AlbumType>, config: PagingConfig = defaultPagingConfig): Flow<PagingData<AlbumItem>>
Link copied to clipboard
abstract fun createMediaPagingFlow(userId: Long, config: PagingConfig = defaultPagingConfig): Flow<PagingData<MediaItem>>
Link copied to clipboard
abstract fun createSectionMediaFlow(userId: Long, range: LongRange): Flow<List<MediaItem>>
Link copied to clipboard
abstract fun createSuggestionsContainerFlow(userId: Long, searchQueryStateFlow: StateFlow<String>, configuration: SuggestionSearchConfiguration): Flow<SuggestionsContainer>
Link copied to clipboard
abstract suspend fun fetchSuggestionContent(userId: Long, request: SuggestionContentRequest)
Link copied to clipboard
abstract suspend fun fetchSuggestionsContent(userId: Long, requests: List<SuggestionContentRequest>)