public class RateThisApp
extends java.lang.Object
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
RateThisApp.Callback
Callback of dialog click event
|
static class |
RateThisApp.Config
RateThisApp configuration.
|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static boolean |
DEBUG
If true, print LogCat
|
| コンストラクタと説明 |
|---|
RateThisApp() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static int |
getLaunchCount(android.content.Context context)
Get count number of the rate dialog launches
|
static void |
init(RateThisApp.Config config)
Initialize RateThisApp configuration.
|
static void |
onCreate(android.content.Context context)
Call this API when the launcher activity is launched.
|
static void |
onStart(android.content.Context context)
非推奨です。
|
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.
|
static void |
stopRateDialog(android.content.Context context)
Stop showing the rate dialog
|
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 onCreate(android.content.Context context)
context - Context@Deprecated public static void onStart(android.content.Context context)
context - public 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 - public static void stopRateDialog(android.content.Context context)
context - public static int getLaunchCount(android.content.Context context)