Config

data class Config(val notificationId: Int, val notification: Notification)

What the app supplies to enable background scanning: the ongoing notification shown while the service runs and the notificationId it is posted under.

The notification must be suitable for a foreground service (ongoing) and its channel must already be created by the app. See the map-positioning example for a complete recipe.

Constructors

Link copied to clipboard
constructor(notificationId: Int, notification: Notification)

Properties

Link copied to clipboard
Link copied to clipboard