lost icon indicating copy to clipboard operation
lost copied to clipboard

Implement Geofence notification repsonsiveness

Open sarahcodes100 opened this issue 8 years ago • 0 comments

Behavior details:

Sets the best-effort notification responsiveness of the geofence. Defaults to 0. Setting a big responsiveness value, for example 5 minutes, can save power significantly. However, setting a very small responsiveness value, for example 5 seconds, doesn't necessarily mean you will get notified right after the user enters or exits a geofence: internally, the geofence might adjust the responsiveness value to save power when needed.

Currently our code throws an exception when trying to use this property

public Geofence.Builder setNotificationResponsiveness(int notificationResponsivenessMs) {
      throw new RuntimeException("Sorry, not yet implemented");
}

sarahcodes100 avatar May 18 '17 20:05 sarahcodes100