-
- All Implemented Interfaces:
-
com.onesignal.notifications.internal.badges.impl.shortcutbadger.Badger
public class NewHtcHomeBadger implements Badger
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringINTENT_UPDATE_SHORTCUTpublic final static StringINTENT_SET_NOTIFICATIONpublic final static StringPACKAGENAMEpublic final static StringCOUNTpublic final static StringEXTRA_COMPONENTpublic final static StringEXTRA_COUNT
-
Method Summary
Modifier and Type Method Description voidexecuteBadge(Context context, ComponentName componentName, int badgeCount)Called when user attempts to update notification count List<String>getSupportLaunchers()Called to let ShortcutBadger knows which launchers are supported by this badger. -
-
Method Detail
-
executeBadge
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
List<String> getSupportLaunchers()
Called to let ShortcutBadger knows which launchers are supported by this badger. It should return a
-
-
-
-