NetworkUsageDao

interface NetworkUsageDao

Functions

Link copied to clipboard
abstract fun getRecords(day: Int): Flow<List<DataUsage>>
Link copied to clipboard
abstract suspend fun insert(media: DataUsage): Long
Link copied to clipboard
abstract suspend fun updateBytes(day: Int, bytes: Long, networkType: String): Int