CameraModule.CameraType
EnumCamera sensor type, reported on CameraModule.CameraInfo#type.
- Snapchat: not supported
- SPECS: fully supported
- Camera Kit Web: not supported
- Camera Kit Mobile: not supported
- 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
Since Lens Scripting v368Exposes user data
Camera sensor type, reported on CameraModule.CameraInfo#type.
Index
Remarks
CameraModule#getCameras lists the RGB and grayscale cameras.
Enumeration Members
Generic
Generic:
number
Exposes user dataSPECS
Unspecified type. Not reported by current cameras.
Since
Lens Scripting Version 368
Grayscale
Grayscale:
number
Exposes user dataSPECS
Monochrome camera; images are single-channel luma.
Since
Lens Scripting Version 368
Rgb
Rgb:
number
Exposes user dataSPECS
Color camera.
Since
Lens Scripting Version 368