SnapOS.onThrottleStateChanged
VariableFires whenever the SnapOS Dynamic Power Manager throttle state changes, delivering the current ThrottleState.
- Snapchat: not supported
- SPECS: fully supported
- Camera Kit Web: not supported
- Camera Kit Mobile: not supported
- SnapchatNot supported — SPECS only
- SPECSFully supported
- Camera Kit WebNot supported — SPECS only
- Camera Kit MobileNot supported — SPECS only
Since Lens Scripting v387
constonThrottleStateChanged:event1<ThrottleState,void>
Fires whenever the SnapOS Dynamic Power Manager throttle state changes, delivering the current ThrottleState. The current state is delivered as the initial event on subscribe when the device is already throttling.