setStatusBarMessage

fun setStatusBarMessage(text: String, hideAfterTimeout: Int): Disposable(source)

Set a message to the status bar. This is a short hand for the more powerful status bar items.

Parameters

text

The message to show, supports icon substitution as in status bar items.

hideAfterTimeout

Timeout in milliseconds after which the message will be disposed.


Set a message to the status bar. This is a short hand for the more powerful status bar items.

Parameters

text

The message to show, supports icon substitution as in status bar items.

hideWhenDone

Thenable on which completion (resolve or reject) the message will be disposed.


Set a message to the status bar. This is a short hand for the more powerful status bar items.

Note that status bar messages stack and that they must be disposed when no longer used.

Parameters

text

The message to show, supports icon substitution as in status bar items.