Package-level declarations
Types
Link copied to clipboard
Observes the MLS key package count and uploads new key packages when necessary.
Link copied to clipboard
internal class KeyPackageManagerImpl(featureSupport: FeatureSupport, incrementalSyncRepository: IncrementalSyncRepository, clientRepository: <Error class: unknown class><ClientRepository>, refillKeyPackagesUseCase: <Error class: unknown class><RefillKeyPackagesUseCase>, keyPackageCountUseCase: <Error class: unknown class><MLSKeyPackageCountUseCase>, timestampKeyRepository: <Error class: unknown class><TimestampKeyRepository>, kaliumDispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : KeyPackageManager
Link copied to clipboard
Link copied to clipboard
interface MLSKeyPackageCountUseCase
This use case will return the current number of key packages.
Link copied to clipboard
internal class MLSKeyPackageCountUseCaseImpl(keyPackageRepository: KeyPackageRepository, currentClientIdProvider: CurrentClientIdProvider, keyPackageLimitsProvider: KeyPackageLimitsProvider) : MLSKeyPackageCountUseCase
Link copied to clipboard
Link copied to clipboard
interface RefillKeyPackagesUseCase
This use case will check if the number of key packages is below the minimum threshold and will upload new key packages if needed.
Link copied to clipboard
internal class RefillKeyPackagesUseCaseImpl(keyPackageRepository: KeyPackageRepository, keyPackageLimitsProvider: KeyPackageLimitsProvider, currentClientIdProvider: CurrentClientIdProvider) : RefillKeyPackagesUseCase