Package 

Class RadarTrackingOptions.RadarTrackingOptionsForegroundService

    • Method Detail

      • getText

         final String getText()

        Determines the notification text. Defaults to "Location tracking started".

      • getTitle

         final String getTitle()

        Determines the notification title. Optional.

      • getIcon

         final Integer getIcon()

        Determines the notification icon, like R.drawable.ic_your_icon. Optional, defaults to applicationContext.applicationInfo.icon.

      • getUpdatesOnly

         final Boolean getUpdatesOnly()

        Determines when to show the notification. Use false to show the notification always, use true to show the notification only during location updates. Optional, defaults to false.

      • getActivity

         final String getActivity()

        Determines the activity to start when the notification is tapped, like "com.yourapp.MainActivity". Optional.

      • getImportance

         final Integer getImportance()

        Determines the importance of the notification, one of android.app.NotificationManager.IMPORTANCE_*. Optional, defaults to android.app.NotificationManager.IMPORTANCE_DEFAULT.

      • getId

         final Integer getId()

        Determines the id of the notification. Optional, defaults to 20160525.

      • getChannelName

         final String getChannelName()

        Determines the user-facing channel name, which can be viewed in notification settings for the application. Optional, defaults to "Location Services".

      • getIconString

         final String getIconString()

        Determines the notification icon, like R.drawable.ic_your_icon. Optional, defaults to applicationContext.applicationInfo.icon.

      • setIconString

         final Unit setIconString(String iconString)

        Determines the notification icon, like R.drawable.ic_your_icon. Optional, defaults to applicationContext.applicationInfo.icon.

      • getIconColor

         final String getIconColor()

        Determines the color notification icon. Optional.