Gamebase SDK for Android  1.1.5
Toast Gamebase Platform

◆ showToast()

static void showToast ( @NonNull final Context  context,
@NonNull final String  message,
@ToastDuration int  duration 
)
static

Show a standard toast that just contains a text view.

Parameters
contextThe context to use. Usually your android.app.Application or android.app.Activity object.
messageThe message to show.
durationHow long to display the message. Either android.widget.Toast#LENGTH_SHORT or android.widget.Toast#LENGTH_LONG