Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-06-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-23 UTC."],[],[],null,["# SnapshotApplyResult.Success\n===========================\n\nArtifact: [androidx.compose.runtime:runtime](/jetpack/androidx/releases/compose-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/snapshots/Snapshot.kt+class:androidx.compose.runtime.snapshots.SnapshotApplyResult.Success) \nAdded in [1.0.0](/jetpack/androidx/releases/compose-runtime#1.0.0)\nCommon/AllAndroid/JVMNative/C/iOSJavaScript\n - Cmn \n\n ```\n object SnapshotApplyResult.Success : SnapshotApplyResult\n``` \n\n|---|---|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||\n| ↳ | [androidx.compose.runtime.snapshots.SnapshotApplyResult](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult) ||\n| | ↳ | [androidx.compose.runtime.snapshots.SnapshotApplyResult.Success](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success) |\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public functions |\n|--------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-----|\n| `open `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [check](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success#check())`()` Check the result of a snapshot apply. | Cmn |\n\n| ### Public properties |\n|--------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|\n| `open `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [succeeded](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success#succeeded()) True if the result is [Success](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success). | Cmn |\n\nPublic functions\n----------------\n\n### check\n\nCmn \n\n```\nopen fun check(): Unit\n```\n\nCheck the result of a snapshot apply. Calling [check](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success#check()) on a [Success](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success) result is a noop.\n\nPublic properties\n-----------------\n\n### succeeded\n\nCmn \n\n```\nopen val succeeded: Boolean\n```\n\nTrue if the result is [Success](/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotApplyResult.Success)."]]