Package 

Class XiaomiHomeBadger

  • All Implemented Interfaces:
    com.onesignal.notifications.internal.badges.impl.shortcutbadger.Badger

    @Deprecated() 
    public class XiaomiHomeBadger
     implements Badger
                        
    • Method Detail

      • executeBadge

         void executeBadge(Context context, ComponentName componentName, int badgeCount)

        Called when user attempts to update notification count

        Parameters:
        context - Caller context
        componentName - Component containing package and class name of calling application'slauncher activity
        badgeCount - Desired notification count