ScriptProfiler
NamespaceNamespace in the Lens Scripting API.
- Snapchat: not supported
- SPECS: fully supported
- Camera Kit Web: not supported
- Camera Kit Mobile: not supported
- SnapchatNot supported — Available on SPECS only
- SPECSFully supported
- Camera Kit WebNot supported — Available on SPECS only
- Camera Kit MobileNot supported — Available on SPECS only
Functions
| Function | Description |
|---|---|
| startSampling | Starts the sampling profiler. |
| stopSampling | Stops the sampling profiler and writes the trace to device storage. |