<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
interface SnackbarData
```


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


## Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val message: String
```


<div class='sourceset sourceset-common'>Common</div>


```kotlin
val actionLabel: String?
```


<div class='sourceset sourceset-common'>Common</div>


```kotlin
val duration: SnackbarDuration
```


## Functions



<h2 id="performaction">performAction</h2>

```kotlin
fun performAction()
```


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




<hr class="docs-overload-divider">


<h2 id="dismiss">dismiss</h2>

```kotlin
fun dismiss()
```


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