set Duration
Sets the duration that the BottomBar will be displayed.
Parameters
duration
How long to display the message. Can be LENGTH_SHORT, LENGTH_LONG, LENGTH_INDEFINITE, or a custom duration in milliseconds.
Sets the duration that the BottomBar will be displayed.
How long to display the message. Can be LENGTH_SHORT, LENGTH_LONG, LENGTH_INDEFINITE, or a custom duration in milliseconds.