You utilize startForeground(int, Notification) if killing your service would be disruptive for the consumer, for instance Should your service is performing background music playback, so the consumer would notice if their audio stopped actively playing. Be aware that contacting this method will not Remember to enter your email address associated https://www.youtube.com/watch?v=RSlwOZLlUGg