SENTUserContext
Represents the user's context during a specific moment in time.
The context includes:
a list of recent events, such as stationaries and transports;
the user's active segments at the time this context was constructed;
the user's home and work locations;
the user's last know location, if SDK detections were running;
the user's current semantic time (e.g. morning, lunch, afternoon).
events
Returns a list of recent events, composed of stationaries, transports, and off-the-grids.
The list is ordered from the most recent event to the oldest one, and includes the last detected event at the time this context was constructed, plus all preceding events up until the last stationary or off-the-grid.
activeSegments
Returns the active segments detected for the user at the time this context was constructed.
lastKnownLocation
Returns the user's last known location at the time this context was constructed. If the user's last detected event was off-the-grid, or no location information was available, nil is returned instead.
home
Returns the user's home location if known, otherwise returns nil.
work
Returns the user's work location if known, otherwise returns nil.
semanticTime:
Return's the user's current semantic time, as SENTSemanticTime.
isEqualToUserContext:
Last updated