Package com.citymapper.sdk.navigation.service

Types

Link copied to clipboard
abstract class BaseNavigationForegroundService<NotificationModel> : Service

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

A simple default foreground service for navigation, which shows a static notification.