Interface

SnackbarData

Interface to represent the data of one particular Snackbar as a piece of the SnackbarHostState.

Source set: Common

Added in 1.5.0-alpha17

interface SnackbarData

Interface to represent the data of one particular Snackbar as a piece of the SnackbarHostState.

Properties

visuals

Source set: Common

Added in 1.5.0-alpha17

val visuals: SnackbarVisuals

Functions

performAction

Added in 1.5.0-alpha17

fun performAction()

Function to be called when Snackbar action has been performed to notify the listeners.

dismiss

Added in 1.5.0-alpha17

fun dismiss()

Function to be called when Snackbar is dismissed either by timeout or by the user.