Back to Acra

sendToast

web/static/javadoc/5.11.3/acra/org.acra.util/-toast-sender/send-toast.html

latest700 B
Original Source

@JvmStatic

fun sendToast(context: Context, toast: String?, @IntRange(from = 0, to = 1) toastLength: Int)

Sends a Toast and ensures that any Exception thrown during sending is handled.

Parameters

context

Application context.

toast

toast message.

toastLength

Length of the Toast.