StationaryCheck

io.github.positionpal.location.application.tracking.reactions.StationaryCheck

A TrackingEventReaction checking whether the position curried by the event has remained approximately in the same location for some time, possibly indicating a suspicious situation. In this case, it triggers a notification, returning as an Outcome a StuckAlertTriggered. Once the user moves again, it stops the alert, returning a StuckAlertStopped.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_] : Async](using evidence$1: Async[F], MapsService[F], NotificationService[F], UserGroupsService[F]): EventReaction[F]