zcash-android-wallet-sdk/docs/-sdk-synchronizer/is-first-run.md

691 B

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

isFirstRun

suspend fun isFirstRun(): Boolean

Overrides Synchronizer.isFirstRun

A flag to indicate that the initial state of this synchronizer was firstRun. This is useful for knowing whether initializing the database is required and whether to show things like"first run walk-throughs."

Return true when this synchronizer has not been run before on this device or when cache has been cleared since the last run.