class ProximityTriggerBuilder
Builds object that handles the deep background system scanning that will invoke given actions. Works only on phones with Android 8.0 or greater.
The purpose of the ProximityTrigger is to allow you to do low-power background scan which can trigger your notification/pending intent when entering the range of beacons.
Author
Estimote Inc. (contact@estimote.com)
class NotificationProximityTriggerBuilder |
ProximityTriggerBuilder(applicationContext: Context)
Builds object that handles the deep background system scanning that will invoke given actions. Works only on phones with Android 8.0 or greater. |
fun displayNotificationWhenInProximity(notification: Notification): NotificationProximityTriggerBuilder
Triggers given notification when the device enters the range of Estimote Beacons. |
|
fun triggerPendingIntentWhenInProximity(pendingIntent: PendingIntent): ProximityTrigger
Triggers given pending intent when the device enters the range of Estimote Beacons. |