PickupManager

Manager for Pickup operations

Properties

Functions

Link copied to clipboard
fun configure(context: Context)

Configure and initialize the Pickup module.

Link copied to clipboard
fun configureLiveStatusNotificationUpdater(updater: (notificationBuilder: NotificationCompat.Builder, order: Order?) -> Unit)

For displaying a Live Status notification, the app can use the pre-built live-status module or provide their own live status notification updater. Whenever, the pickup service needs to update the live status, it will call the updater provided by this method. This method only needs to be called once after configure is called. If this method is used directly by the app, the app is responsible for adding content to the notificationBuilder (example below). The app may also override some items in the notification such as the small icon.

Link copied to clipboard

Call whenever location permissions change.

Link copied to clipboard

Call whenever location or bluetooth permissions change.