Package-level declarations
Types
Link copied to clipboard
data class AnalyticsContactsData(val teamId: String?, val contactsSize: Int?, val teamSize: Int?, val isEnterprise: Boolean?, val isTeamMember: Boolean)
If val is null mean it shouldn't be provided to the analytics. More details in task https://wearezeta.atlassian.net/browse/WPB-16121
Link copied to clipboard
interface AnalyticsIdentifierManager
Link copied to clipboard
class GetAnalyticsContactsDataUseCase(selfTeamIdProvider: SelfTeamIdProvider, analyticsRepository: AnalyticsRepository, userConfigRepository: UserConfigRepository, coroutineScope: <Error class: unknown class>)
Use case that combine contacts data necessary for analytics AnalyticsContactsData. It always get a Cached data and, except case when there is no cache, in that case useCase selects all the data from DB.
Link copied to clipboard
Use case that returns the current analytics tracking identifier
Link copied to clipboard
Use case that allows observing if the analytics tracking identifier changes, due to receiving a new identifier from another client or when it's user's first interaction with analytics.
Functions
Link copied to clipboard
internal fun AnalyticsIdentifierManager(messageSender: MessageSender, userConfigRepository: UserConfigRepository, selfUserId: <Error class: unknown class>, selfClientIdProvider: CurrentClientIdProvider, selfConversationIdProvider: SelfConversationIdProvider, syncManager: SyncManager, defaultLogger: <Error class: unknown class> = kaliumLogger): AnalyticsIdentifierManager
Link copied to clipboard
internal fun GetCurrentAnalyticsTrackingIdentifierUseCase(userConfigRepository: UserConfigRepository): GetCurrentAnalyticsTrackingIdentifierUseCase
Link copied to clipboard
internal fun ObserveAnalyticsTrackingIdentifierStatusUseCase(userConfigRepository: UserConfigRepository, defaultLogger: <Error class: unknown class> = kaliumLogger): ObserveAnalyticsTrackingIdentifierStatusUseCase