Tracking

io.github.positionpal.location.domain.Tracking
See theTracking companion trait
object Tracking

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tracking.type

Members list

Value members

Concrete methods

def apply(route: Route): Tracking

Creates a new Tracking.

Creates a new Tracking.

Attributes

def withMonitoring(routingMode: RoutingMode, destination: Address, estimatedArrival: Instant, route: Route): MonitorableTracking

Creates a new MonitorableTracking.

Creates a new MonitorableTracking.

Attributes

Extensions

Extensions

extension (t: Tracking)

Attributes

Returns

a Some with the MonitorableTracking instance if the tracking is monitorable (i.e., is an instance of MonitorableTracking), None otherwise.

def isMonitorable: Boolean

Attributes

Returns

true if the tracking is monitorable (i.e., is an instance of MonitorableTracking), false otherwise.

extension (t: Option[Tracking])

Attributes

Returns

a Some with the MonitorableTracking instance if the Option is non-empty and the tracking is monitorable (i.e., is an instance of MonitorableTracking), None otherwise.