Trip Notification
interface TripNotification
Content copied to clipboard
Defines a contract for Notification instance provider and manager. This notification is going to be used in a foreground service managed by a TripSession
Functions
getNotification
Link copied to clipboard
Provides a custom Notification to launch with the TripSession, specifically android.app.Service.startForeground.
getNotificationId
Link copied to clipboard
An integer id that will be used to start this notification from TripSession with android.app.Service.startForeground.
onTripSessionStarted
Link copied to clipboard
abstract fun onTripSessionStarted()
Content copied to clipboard
onTripSessionStopped
Link copied to clipboard
abstract fun onTripSessionStopped()
Content copied to clipboard
updateNotification
Link copied to clipboard