Use setForegroundNotification method to notify the user about location tracking in the notification bar. Set ENABLE as true to enable notification and false to disable the notification.
// ENABLE as Boolean (mandatory)// TITLE as String (mandatory)// DESCRIPTION as String (mandatory)// ICON as String (mandatory)// ACTIVITY_PATH as String (mandatory)// FOREGROUND_SERVICE_PATH as String (mandatory)Roam.setForegroundNotification(ENABLE,"TITLE","DESCRIPTION","ICON","ACTIVITY_PATH","FOREGROUND_SERVICE_PATH")
// ENABLE as Boolean (mandatory)// TITLE as String (mandatory)// DESCRIPTION as String (mandatory)// ICON as String (mandatory)// ACTIVITY_PATH as String (mandatory)// FOREGROUND_SERVICE_PATH as String (mandatory)Roam.setForegroundNotification(ENABLE,"TITLE","DESCRIPTION","ICON","ACTIVITY_PATH","FOREGROUND_SERVICE_PATH");