Package com. citymapper. sdk. navigation. service
Types
Link copied to clipboard
abstract class BaseNavigationForegroundService<NotificationModel> : Service
Content copied to clipboard
Abstract helper class for a foreground service which runs while navigation is active. This class will automatically take care of handling the foreground lifecycle, and stopping when navigation ends or the user arrives at their destination.
Link copied to clipboard
class DefaultNavigationForegroundService : BaseNavigationForegroundService<Nothing?>
Content copied to clipboard
A simple default foreground service for navigation, which shows a static notification.