markIntervalEnd

fun markIntervalEnd(intervalType: String, elapsedMillis: Long? = null)

Marks the end of a started interval.

See also

Parameters

intervalType

The interval type to close.

elapsedMillis

This parameter can be used for marking intervals that actually started before the method call. If you do not specify it, the ExperienceSDK will use the current time as the timestamp. To shift the timestamp, set this parameter to the amount of elapsed milliseconds since the last device boot at the actual time when the interval started.