Skip to content

//room/dev.atick.storage.room.data/AnalysisDataSource/getCategoryAnalyses

getCategoryAnalyses

[androidJvm]\ abstract fun getCategoryAnalyses(startDate: Long, endDate: Long, topN: Int): Flow<List<ExpenseAnalysis>>

Retrieves category analyses for expenses within a specified date range.

Return

A Flow emitting a list of ExpenseAnalysis objects for the top categories.

Parameters

androidJvm

startDate The start date of the range (inclusive) in milliseconds since epoch.
endDate The end date of the range (inclusive) in milliseconds since epoch.
topN The number of top categories to retrieve.