SnackbarData
-
Cmn
interface SnackbarData
Interface to represent the data of one particular Snackbar as a piece of the SnackbarHostState.
Summary
Public functions |
||
|---|---|---|
Unit |
dismiss()Function to be called when Snackbar is dismissed either by timeout or by the user. |
Cmn
|
Unit |
Function to be called when Snackbar action has been performed to notify the listeners. |
Cmn
|
Public properties |
||
|---|---|---|
SnackbarVisuals |
Holds the visual representation for a particular |
Cmn
|
Public functions
dismiss
fun dismiss(): Unit
Function to be called when Snackbar is dismissed either by timeout or by the user.
performAction
fun performAction(): Unit
Function to be called when Snackbar action has been performed to notify the listeners.