Google is committed to advancing racial equity for Black communities. See how.

Failure

class Failure : SnapshotApplyResult
kotlin.Any
   ↳ androidx.compose.runtime.snapshots.SnapshotApplyResult
   ↳ androidx.compose.runtime.snapshots.SnapshotApplyResult.Failure

Summary

Public constructors
<init>(snapshot: Snapshot)

Public methods
Unit

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

succeeded

val succeeded: Boolean

True if the result is Success.