getRealTimeNanos
FunctionGet current time in nanoseconds.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
getRealTimeNanos():
number
Get current time in nanoseconds. Useful when optimizing a Lens to understand its performance.
Returns
number