Skip to main content
←API Reference ←com.nianticspatial.nsdk

ClockBase


Declaration​

enum class ClockBase

Summary​

Reference clock that a timestamp is measured against. Mirrors the native ARDK_ClockBase enum; [value] must stay in sync with it.


Properties​

NameTypeSummary
valueInt
-

Cases​

NameTypeSummary
EPOCHEPOCH
-
MONOTONICMONOTONIC
-

Functions​

NameTypeSummary
resolveClockBase
Resolves the base for a recorded dataset: the explicit value when present, otherwise
classified by the first heading timestamp's magnitude — epoch wall-clock times are
~1.7e9 s, monotonic boot-relative times are far smaller.