@snap/camera-kit
Version:
Camera Kit Web
115 lines (64 loc) • 2.37 kB
Markdown
[string`
Non-empty identifier of a unique lens available to be applied in current session.
NOTE: This value may contain unsafe characters
and therefore may require additional processing depending on usages.
___
• **groupId**: `string`
The unique identifier for the group that this lens is a part of,
correlating to a collection of lenses grouped for organizational or functional purposes.
___
• **name**: `string`
Human readable name of this lens.
NOTE: This value may contain unsafe characters
and therefore may require additional processing depending on usages.
___
• **iconUrl**: `undefined` \| `string`
Icon resource URI that represents this lens if available.
___
• **vendorData**: `Object`
Vendor specific metadata associated with this lens, empty by default.
NOTE: Metadata values may contain unsafe characters
and therefore may require additional processing depending on usages.
▪ [key: `string`]: `string`
___
• **cameraFacingPreference**: [`Lens_CameraFacing`](../enums/Lens_CameraFacing.md)
Specifies a [Lens_CameraFacing](../enums/Lens_CameraFacing.md) that this lens is designed for.
___
• **preview**: `undefined` \| [`Preview`](Preview.md)
Preview representing this lens, if available.
___
• **lensCreator**: `undefined` \| [`LensCreator`](LensCreator.md)
Information about the lens creator.
___
• **snapcode**: `undefined` \| [`Snapcode`](Snapcode.md)
A [snapcode](https://scan.snapchat.com/snapcodes) that represents the lens if available.
The snapcode points to the lens in the Snapchat app, when used on mobile, or a dedicated web page.
___
• **featureMetadata**: `Any`[]
Metadata pertaining to a specific set of lens features
](../README.md) / [Exports](../modules.md) / Lens
- [id](Lens.md
- [groupId](Lens.md
- [name](Lens.md
- [iconUrl](Lens.md
- [vendorData](Lens.md
- [cameraFacingPreference](Lens.md
- [preview](Lens.md
- [lensCreator](Lens.md
- [snapcode](Lens.md
- [featureMetadata](Lens.md
• **id**: `