Skip to main content

CameraModule.CameraLocation

Enum

Camera position on the device, reported on CameraModule.CameraInfo#location.

  • 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 v368Exposes user data

Camera position on the device, reported on CameraModule.CameraInfo#location.

Index

Enumeration Members

Enumeration Members

Generic

Generic: number

Exposes user dataSPECS

No single side is reported for this camera.

Since

Lens Scripting Version 368


Left

Left: number

Exposes user dataSPECS

Left side of the device, from the wearer's point of view.

Since

Lens Scripting Version 368


Right: number

Exposes user dataSPECS

Right side of the device, from the wearer's point of view.

Since

Lens Scripting Version 368