public class RateThisApp
extends java.lang.Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
RateThisApp.Callback |
static class |
RateThisApp.Config
RateThisApp configuration.
|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static boolean |
DEBUG
If true, print LogCat
|
| コンストラクタと説明 |
|---|
RateThisApp() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
init(RateThisApp.Config config)
Initialize RateThisApp configuration.
|
static void |
onStart(android.content.Context context)
Call this API when the launcher activity is launched.
|
static void |
setCallback(RateThisApp.Callback callback)
Set callback instance.
|
static boolean |
shouldShowRateDialog()
Check whether the rate dialog should be shown or not.
|
static void |
showRateDialog(android.content.Context context)
Show the rate dialog
|
static void |
showRateDialog(android.content.Context context,
int themeId)
Show the rate dialog
|
static boolean |
showRateDialogIfNeeded(android.content.Context context)
Show the rate dialog if the criteria is satisfied.
|
static boolean |
showRateDialogIfNeeded(android.content.Context context,
int themeId)
Show the rate dialog if the criteria is satisfied.
|
public static final boolean DEBUG
public static void init(RateThisApp.Config config)
config - Configuration object.public static void setCallback(RateThisApp.Callback callback)
callback - public static void onStart(android.content.Context context)
context - Contextpublic static boolean showRateDialogIfNeeded(android.content.Context context)
context - Contextpublic static boolean showRateDialogIfNeeded(android.content.Context context,
int themeId)
context - ContextthemeId - Theme IDpublic static boolean shouldShowRateDialog()
public static void showRateDialog(android.content.Context context)
context - public static void showRateDialog(android.content.Context context,
int themeId)
context - themeId -