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

16 lines
691 B
Markdown
Raw Normal View History

[zcash-android-wallet-sdk](../../index.md) / [cash.z.ecc.android.sdk.data](../index.md) / [SdkSynchronizer](index.md) / [isFirstRun](./is-first-run.md)
# isFirstRun
`suspend fun isFirstRun(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Overrides [Synchronizer.isFirstRun](../-synchronizer/is-first-run.md)
2019-03-30 09:22:20 -07:00
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**
2019-03-30 09:22:20 -07:00
true when this synchronizer has not been run before on this device or when cache has been cleared since
the last run.