Gamebase SDK for Android
2.40.0
NHN Cloud Gamebase Platform
|
Static Public Member Functions | |
static void | show (@NonNull final Context context, @NonNull final String title, @NonNull final String message) |
static void | show (@NonNull final Context context, @NonNull final String title, @NonNull final String message, final boolean isCancelable) |
static void | show (@NonNull final Context context, @NonNull final String title, @NonNull final String message, @Nullable final DialogInterface.OnClickListener clickListener, final boolean isCancelable) |
static void | show (@NonNull final Context context, @NonNull final String title, @NonNull final String message, @Nullable final String positiveButtonText, @Nullable final DialogInterface.OnClickListener positiveListener, final boolean isCancelable) |
static void | show (@NonNull final Context context, @NonNull final String title, @NonNull final String message, @Nullable final String positiveButtonText, @Nullable final DialogInterface.OnClickListener positiveListener, @Nullable final String negativeButtonText, @Nullable final DialogInterface.OnClickListener negativeListener, final boolean isCancelable) |
static void | show (@NonNull final Context context, @NonNull final String title, @NonNull final String message, @Nullable final String positiveButtonText, @Nullable final DialogInterface.OnClickListener positiveListener, @Nullable final String negativeButtonText, @Nullable final DialogInterface.OnClickListener negativeListener, @Nullable final DialogInterface.OnCancelListener cancelListener, final boolean isCancelable) |
This method to create the dialog and display it on screen. More... | |
|
static |
|
static |
|
static |
This method to create the dialog and display it on screen.
context | The context to use. Usually your android.app.Application or android.app.Activity object. |
title | The title displayed in the dialog. |
message | The message to display. |
positiveButtonText | The positiveButtonText displayed in the positive button. |
positiveListener | The positiveListener to be invoked when the positive button of the dialog is pressed. |
negativeButtonText | The negativeButtonText displayed in the negative button. |
negativeListener | The negativeListener to be invoked when the negative button of the dialog is pressed. |
cancelListener | The cancelListener that will be called if the dialog is canceled. |
isCancelable | Sets whether the dialog is cancelable or not. |
Example Usage:
|
static |
|
static |
|
static |