app.toast is the instance of Toast API, which provide functions to show native toast.
A working example of Toast API
app.toast.show("Hello Android JS", 1);
app.toast.show(text, duration)text Stringduration Int
    0 for short1 for longAn example of above code:
app.toast.show("Hello Android JS", 0);