-
public interface Badger
-
-
Method Summary
Modifier and Type Method Description abstract voidexecuteBadge(Context context, ComponentName componentName, int badgeCount)Called when user attempts to update notification count abstract List<String>getSupportLaunchers()Called to let ShortcutBadger knows which launchers are supported by this badger. -
-
Method Detail
-
executeBadge
abstract void executeBadge(Context context, ComponentName componentName, int badgeCount)
Called when user attempts to update notification count
- Parameters:
context- Caller contextcomponentName- Component containing package and class name of calling application'slauncher activitybadgeCount- Desired notification count
-
getSupportLaunchers
abstract List<String> getSupportLaunchers()
Called to let ShortcutBadger knows which launchers are supported by this badger. It should return a
-
-
-
-