Toast.setTitle

void setTitle(string title)

Sets the title that will be displayed on the toast.

The title can be marked up with the Pango text markup language.

Setting a title will unset propertyToast:custom-title.

If propertyToast:custom-title is set, it will be used instead.

Parameters

titlea title