Package 

Class StepCounterServiceApi

    • Method Detail

      • startService

         final Unit startService(String serviceStartNotificationTitle, String serviceStartNotificationMessage, String serviceCounterNotificationTitle, String serviceCounterNotificationMessage, @DrawableRes() Integer startNotificationIcon, @DrawableRes() Integer countingNotificationIcon)

        StartService by the application

        Parameters:
        serviceStartNotificationTitle - Notification title for first foreground service
        serviceStartNotificationMessage - Notification message for first foreground service
        serviceCounterNotificationTitle - Notification title for foreground service when counting steps
        serviceCounterNotificationMessage - Notification message for foreground service when counting steps
        startNotificationIcon - Notification icon for first foreground service
        countingNotificationIcon - Notification icon for foreground service when counting steps