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

SnackbarResult

enum class SnackbarResult
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.material.SnackbarResult>
   ↳ androidx.compose.material.SnackbarResult

Possible results of the SnackbarHostState.showSnackbar call

Summary

Enum values

Action on the Snackbar has been clicked before the time out passed

Snackbar that is shown has been dismissed either by timeout of by user

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

ActionPerformed

enum val ActionPerformed : SnackbarResult

Action on the Snackbar has been clicked before the time out passed

Dismissed

enum val Dismissed : SnackbarResult

Snackbar that is shown has been dismissed either by timeout of by user