1.8 KiB
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.SyncStateState 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.SyncStateState for the first run of the Synchronizer, when the database has not been initialized. |
| ReadyToProcess | class ReadyToProcess : SdkSynchronizer.SyncStateThe final state of the Synchronizer, when all initialization is complete and the starting block is known. |
Inheritors
| Name | Summary |
|---|---|
| CacheOnly | class CacheOnly : SdkSynchronizer.SyncStateState 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.SyncStateState for the first run of the Synchronizer, when the database has not been initialized. |
| ReadyToProcess | class ReadyToProcess : SdkSynchronizer.SyncStateThe final state of the Synchronizer, when all initialization is complete and the starting block is known. |