createMovementTrail
@totemsdk/location-proof / createMovementTrail
Function: createMovementTrail()
createMovementTrail(
params):MovementTrail
Build a MovementTrail from a set of samples.
Samples are sorted by observedAt, and startedAt/endedAt are derived from the sorted range. maxComputedSpeedMps and impossibleJumpDetected are computed from the samples. The trailId is content-derived (see computeMovementTrailId) unless explicitly provided.