| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTRA_UPDATE_APP_COMPONENT_NAME
Deprecated.
|
static java.lang.String |
EXTRA_UPDATE_APP_MSG_TEXT
Deprecated.
|
static java.lang.String |
INTENT_ACTION
Deprecated.
|
| Constructor and Description |
|---|
XiaomiHomeBadger()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeBadge(android.content.Context context,
android.content.ComponentName componentName,
int badgeCount)
Deprecated.
Called when user attempts to update notification count
|
java.util.List<java.lang.String> |
getSupportLaunchers()
Deprecated.
Called to let
ShortcutBadger knows which launchers are supported by this badger. |
public static final java.lang.String INTENT_ACTION
public static final java.lang.String EXTRA_UPDATE_APP_COMPONENT_NAME
public static final java.lang.String EXTRA_UPDATE_APP_MSG_TEXT
public void executeBadge(android.content.Context context,
android.content.ComponentName componentName,
int badgeCount)
throws ShortcutBadgeException
BadgerexecuteBadge in interface Badgercontext - Caller contextcomponentName - Component containing package and class name of calling application's
launcher activitybadgeCount - Desired notification countShortcutBadgeExceptionpublic java.util.List<java.lang.String> getSupportLaunchers()
BadgerShortcutBadger knows which launchers are supported by this badger. It should return agetSupportLaunchers in interface Badger