Skip to main content

Audio

Namespace

Namespace in the Lens Scripting API.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Enumerations

EnumerationDescription
DistanceCurveTypeThe curve that specifies how sound fades with the distance from Audio Component to the Audio Listener.****
PlaybackModeThe Playback Mode property of the AudioComponent used in Lenses targeting Spectacles. Spectacles default all Playback Modes to Low Power.