Failure
Kotlin
|Java
class Failure : SnapshotApplyResult
kotlin.Any | ||
↳ | androidx.compose.runtime.snapshots.SnapshotApplyResult | |
↳ | androidx.compose.runtime.snapshots.SnapshotApplyResult.Failure |
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
Unit |
check() Check the result of a snapshot apply. |
Properties | |
---|---|
Snapshot | |
Boolean |
True if the result is Success. |
Public constructors
<init>
Failure(snapshot: Snapshot)
Public methods
check
fun check(): Unit
Check the result of a snapshot apply. Calling check on a Failure result throws a SnapshotApplyConflictException exception.
Properties
snapshot
val snapshot: Snapshot