Toast.setTitle

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.

class Toast
void
setTitle
(
string title
)

Parameters

title string

a title