Package 

Enum SnackbarDuration

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum SnackbarDuration
    extends Enum<SnackbarDuration>
                        

    Possible durations of the Snackbar in SnackbarHost

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Indefinite

      Show the Snackbar indefinitely until explicitly dismissed or action is clicked

      Long

      Show the Snackbar for a long period of time

      Short

      Show the Snackbar for a short period of time

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait