zcash-android-wallet-sdk/docs/-sdk-synchronizer/-sync-state/README.md

1.8 KiB

zcash-android-wallet-sdk / cash.z.ecc.android.sdk.data / SdkSynchronizer / SyncState

SyncState

sealed class SyncState

Represents the initial state of the Synchronizer.

Types

Name Summary
CacheOnly class CacheOnly : SdkSynchronizer.SyncState
State for when compact blocks have been downloaded but not scanned. This state is typically achieved when the app was previously started but killed before the first scan took place. In this case, we do not need to download compact blocks that we already have.
FirstRun object FirstRun : SdkSynchronizer.SyncState
State for the first run of the Synchronizer, when the database has not been initialized.
ReadyToProcess class ReadyToProcess : SdkSynchronizer.SyncState
The final state of the Synchronizer, when all initialization is complete and the starting block is known.

Inheritors

Name Summary
CacheOnly class CacheOnly : SdkSynchronizer.SyncState
State for when compact blocks have been downloaded but not scanned. This state is typically achieved when the app was previously started but killed before the first scan took place. In this case, we do not need to download compact blocks that we already have.
FirstRun object FirstRun : SdkSynchronizer.SyncState
State for the first run of the Synchronizer, when the database has not been initialized.
ReadyToProcess class ReadyToProcess : SdkSynchronizer.SyncState
The final state of the Synchronizer, when all initialization is complete and the starting block is known.