Class NotificationOptions

java.lang.Object
com.here.sdk.location.NotificationOptions

public final class NotificationOptions extends Object

Positioning notification options.

  • Field Details

    • desiredIntervalMilliseconds

      public long desiredIntervalMilliseconds

      Desired interval for position updates in milliseconds. This interval is not guaranteed. Default interval is 30 seconds.

    • smallestIntervalMilliseconds

      public long smallestIntervalMilliseconds

      Smallest allowed interval for position updates in milliseconds. It is guaranteed that positions are not provided more often than this value. Smallest interval could be used for throttling position updates, e.g. when each position update triggers CPU intensive calculations in the client application. This value is used as a minimum update interval when requesting GNSS location updates from the operating system. When hdEnabled is set to true in SatellitePositioningOptions, the smallest_interval_milliseconds value has a limited range. The SDK will adjust the value to allow location updates with a frequency of 1Hz to 10Hz (1000 ms to 100 ms, respectively). Default interval is 900 milliseconds.

  • Constructor Details

    • NotificationOptions

      public NotificationOptions()

      Creates a new instance.