-
public interface RumSessionListenerAn interface to get informed whenever a new session is starting, providing you with Datadog's session id.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonSessionStarted(String sessionId, Boolean isDiscarded)Called whenever a new session is started. -
-
Method Detail
-
onSessionStarted
abstract Unit onSessionStarted(String sessionId, Boolean isDiscarded)
Called whenever a new session is started.
- Parameters:
sessionId- the Session's id (matching thesession.idattribute in Datadog's RUM events)isDiscarded- whether or not the session is discarded by the sampling rate (whentrueit means no event in this session will be kept).
-
-
-
-