| Constructor and Description |
|---|
ApexHomeBadger() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeBadge(android.content.Context context,
android.content.ComponentName componentName,
int badgeCount)
Called when user attempts to update notification count
|
java.util.List<java.lang.String> |
getSupportLaunchers()
Called to let
ShortcutBadger knows which launchers are supported by this badger. |
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 a
List containing supported launchers package namesgetSupportLaunchers in interface Badger