NotificationOptions (API Reference)
Class NotificationOptions
Positioning notification options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongDesired interval for position updates in milliseconds.longSmallest allowed interval for position updates in milliseconds. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
desiredIntervalMilliseconds
public long desiredIntervalMillisecondsDesired interval for position updates in milliseconds. This interval is not guaranteed. Default interval is 30 seconds.
-
smallestIntervalMilliseconds
public long smallestIntervalMillisecondsSmallest 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
truein 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.
-