Make 'room list catch-up' analytics transaction network aware (#6233)
* Make 'room list catch-up' analytics transaction network aware. * Add `RoomListService.isInitialSyncDone`. Use this to simplify `DefaultAnalyticsRoomListStateWatcher`'s logic.
This commit is contained in:
parent
1f69958dab
commit
70d5e1868a
9 changed files with 91 additions and 38 deletions
|
|
@ -7,7 +7,14 @@
|
|||
|
||||
package io.element.android.services.analyticsproviders.api
|
||||
|
||||
import kotlin.time.Duration
|
||||
|
||||
interface AnalyticsTransaction {
|
||||
/**
|
||||
* The time elapsed since the transaction started until now if the transaction is ongoing or the time it finished.
|
||||
*/
|
||||
val duration: Duration
|
||||
|
||||
/**
|
||||
* Start a child span from this transaction.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue