androidNotification method
Set parameters for foreground service notification. Only required for apps targeting Android O and above. This is required to run Tempo Tracking service.
Implementation
TempoBuilder androidNotification (String channelId, String channelName, String androidNotificationTitle, String androidNotificationContent, int androidNotificationId) {
this.channelId = channelId;
this.channelName = channelName;
this.androidNotificationTitle = androidNotificationTitle;
this.androidNotificationContent = androidNotificationContent;
this.androidNotificationId = androidNotificationId;
return this;
}