UNPKG

@snap/camera-kit

Version:
20 lines (13 loc) 897 B
[**CameraKit Web SDK v1.17.0**](../README.md) *** [CameraKit Web SDK](../globals.md) / CameraKitSessionEvents # Type Alias: CameraKitSessionEvents > **CameraKitSessionEvents**: [`TypedCustomEvent`](../classes/TypedCustomEvent.md)\<`"error"`, `object`\> Events emitted by [CameraKitSession.events](../classes/CameraKitSession.md#events). The following events are emitted: - `error`: An error has been encountered during lens rendering. May contain an error of type: - [LensExecutionError](LensExecutionError.md) If an error of this type occurs, the rendering lens will be automatically removed from the associated CameraKitSession. - [LensImagePickerError](LensImagePickerError.md) - [LensVideoPlaybackMutedError](LensVideoPlaybackMutedError.md) Video playback was muted due to browser autoplay policies. The lens continues to render. Applications should show an unmute button.