Skip to main content

CameraModule.Operation

Enum

Which session a stream capability works with, reported by CameraModule.StreamInfo#operation.

  • Snapchat: not supported
  • SPECS: fully supported
  • Camera Kit Web: not supported
  • Camera Kit Mobile: not supported
1 platform note
  • SnapchatNot supported — Available on SPECS only
  • SPECSFully supported
    • Restricted when the Lens uses internet-connected APIs (see Privacy Restrictions).
  • Camera Kit WebNot supported — Available on SPECS only
  • Camera Kit MobileNot supported — Available on SPECS only

Platform details

  • Snapchat — Not supported — Available on SPECS only.

  • SPECS — Fully supported. Restricted when the Lens uses internet-connected APIs (see Privacy Restrictions)

  • Camera Kit Web — Not supported — Available on SPECS only.

  • Camera Kit Mobile — Not supported — Available on SPECS only.

Since Lens Scripting v387Exposes user data

Which session a stream capability works with, reported by CameraModule.StreamInfo#operation.

Index

Enumeration Members

Remarks

The same resolution and image format can be offered once for each operation.

Enumeration Members

Capture

Capture: number

Exposes user dataSPECS

Stills from a CameraModule.CaptureSession.

Since

Lens Scripting Version 387


Streaming

Streaming: number

Exposes user dataSPECS

Continuous frames from a CameraModule.StreamingSession.

Since

Lens Scripting Version 387