@snap/camera-kit 0.9.1 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -15
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/CameraKit.html +116 -98
- package/docs/html/classes/CameraKitSession.html +175 -152
- package/docs/html/classes/CameraKitSource.html +109 -99
- package/docs/html/classes/LensPerformanceMeasurement.html +98 -92
- package/docs/html/classes/LensPerformanceMetrics.html +83 -79
- package/docs/html/classes/LensRepository.html +120 -107
- package/docs/html/classes/LensSources.html +86 -80
- package/docs/html/classes/Transform2D.html +98 -92
- package/docs/html/classes/TypedCustomEvent.html +83 -80
- package/docs/html/classes/TypedEventTarget.html +92 -89
- package/docs/html/functions/Injectable.html +87 -78
- package/docs/html/functions/bootstrapCameraKit.html +89 -84
- package/docs/html/functions/createExtension.html +76 -73
- package/docs/html/functions/createImageSource.html +80 -75
- package/docs/html/functions/createMediaStreamSource.html +81 -76
- package/docs/html/functions/createUserMediaSource.html +84 -75
- package/docs/html/functions/createVideoSource.html +80 -75
- package/docs/html/functions/estimateLensPerformance.html +76 -73
- package/docs/html/functions/getRequiredBootstrapURLs.html +78 -74
- package/docs/html/functions/lensSourcesFactory.html +74 -72
- package/docs/html/functions/uriHandlersFactory.html +76 -73
- package/docs/html/index.html +80 -78
- package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +107 -98
- package/docs/html/interfaces/CameraKitSourceSubscriber.html +82 -79
- package/docs/html/interfaces/ComputedFrameMetrics.html +94 -82
- package/docs/html/interfaces/CreateSessionOptions.html +86 -81
- package/docs/html/interfaces/EstimatedLensPerformance.html +85 -82
- package/docs/html/interfaces/Lens.html +120 -102
- package/docs/html/interfaces/LensSource.html +102 -92
- package/docs/html/interfaces/MediaStreamSourceOptions.html +80 -78
- package/docs/html/interfaces/Preview.html +135 -0
- package/docs/html/interfaces/Snapcode.html +143 -0
- package/docs/html/interfaces/UriCancelRequest.html +80 -78
- package/docs/html/interfaces/UriHandler.html +102 -91
- package/docs/html/interfaces/UriRequest.html +89 -87
- package/docs/html/interfaces/UriResponse.html +89 -87
- package/docs/html/interfaces/VideoSourceOptions.html +77 -75
- package/docs/html/modules.html +153 -149
- package/docs/html/types/AssetLoader.html +75 -72
- package/docs/html/types/AssetTiming.html +75 -72
- package/docs/html/types/BenchmarkError.html +73 -71
- package/docs/html/types/BootstrapError.html +75 -72
- package/docs/html/types/CacheKeyNotFoundError.html +73 -71
- package/docs/html/types/CameraKitDeviceInfo.html +75 -72
- package/docs/html/types/CameraKitSessionEventListener.html +75 -72
- package/docs/html/types/CameraKitSessionEvents.html +82 -72
- package/docs/html/types/CameraKitSourceError.html +73 -71
- package/docs/html/types/CameraKitSourceInfo.html +73 -71
- package/docs/html/types/CameraKitSourceOptions.html +75 -72
- package/docs/html/types/ConfigurationError.html +75 -72
- package/docs/html/types/Keyboard.html +85 -78
- package/docs/html/types/KeyboardEvents.html +84 -72
- package/docs/html/types/LegalError.html +73 -71
- package/docs/html/types/LensAssetError.html +75 -72
- package/docs/html/types/LensContentValidationError.html +73 -71
- package/docs/html/types/LensError.html +73 -71
- package/docs/html/types/LensExecutionError.html +75 -72
- package/docs/html/types/LensImagePickerError.html +75 -72
- package/docs/html/types/LensLaunchParams.html +75 -72
- package/docs/html/types/LensMetricsEvents.html +75 -72
- package/docs/html/types/LensPerformanceCluster.html +75 -72
- package/docs/html/types/LensView.html +75 -72
- package/docs/html/types/LensWait.html +75 -72
- package/docs/html/types/PersistentStoreError.html +75 -72
- package/docs/html/types/PlatformNotSupportedError.html +75 -72
- package/docs/html/types/PublicContainer.html +75 -72
- package/docs/html/types/RenderTarget.html +75 -72
- package/docs/html/types/Uri.html +73 -71
- package/docs/html/types/UriHandlers.html +75 -72
- package/docs/html/types/WebGLError.html +73 -71
- package/docs/html/variables/extensionRequestContext.html +75 -72
- package/docs/md/README.md +18 -15
- package/docs/md/classes/CameraKit.md +14 -1
- package/docs/md/classes/CameraKitSession.md +1 -2
- package/docs/md/classes/CameraKitSource.md +1 -1
- package/docs/md/classes/LensPerformanceMeasurement.md +1 -1
- package/docs/md/classes/LensPerformanceMetrics.md +1 -1
- package/docs/md/classes/LensRepository.md +1 -1
- package/docs/md/classes/LensSources.md +1 -1
- package/docs/md/classes/Transform2D.md +1 -1
- package/docs/md/classes/TypedCustomEvent.md +1 -1
- package/docs/md/classes/TypedEventTarget.md +1 -1
- package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +1 -1
- package/docs/md/interfaces/CameraKitSourceSubscriber.md +1 -1
- package/docs/md/interfaces/ComputedFrameMetrics.md +15 -1
- package/docs/md/interfaces/CreateSessionOptions.md +1 -1
- package/docs/md/interfaces/EstimatedLensPerformance.md +1 -1
- package/docs/md/interfaces/Lens.md +14 -3
- package/docs/md/interfaces/LensSource.md +1 -1
- package/docs/md/interfaces/MediaStreamSourceOptions.md +1 -1
- package/docs/md/interfaces/Preview.md +19 -0
- package/docs/md/interfaces/Snapcode.md +28 -0
- package/docs/md/interfaces/UriCancelRequest.md +1 -1
- package/docs/md/interfaces/UriHandler.md +1 -1
- package/docs/md/interfaces/UriRequest.md +1 -1
- package/docs/md/interfaces/UriResponse.md +1 -1
- package/docs/md/interfaces/VideoSourceOptions.md +1 -1
- package/docs/md/modules.md +11 -3
- package/lib/CameraKit.d.ts +29 -16
- package/lib/CameraKit.js +34 -5
- package/lib/CameraKit.js.map +1 -1
- package/lib/__tests__/data.js +9 -1
- package/lib/__tests__/data.js.map +1 -1
- package/lib/assertPlatformSupported.js +1 -1
- package/lib/assertPlatformSupported.js.map +1 -1
- package/lib/benchmark/webglUtils.js +2 -2
- package/lib/benchmark/webglUtils.js.map +1 -1
- package/lib/bootstrapCameraKit.js +9 -5
- package/lib/bootstrapCameraKit.js.map +1 -1
- package/lib/common/__mocks__/loadScript.d.ts +1 -1
- package/lib/common/__mocks__/loadScript.js +1 -1
- package/lib/common/__mocks__/loadScript.js.map +1 -1
- package/lib/common/dialog.d.ts +16 -0
- package/lib/common/dialog.js +146 -0
- package/lib/common/dialog.js.map +1 -0
- package/lib/common/hash.d.ts +5 -0
- package/lib/common/hash.js +17 -0
- package/lib/common/hash.js.map +1 -0
- package/lib/common/loadScript.d.ts +6 -1
- package/lib/common/loadScript.js +9 -2
- package/lib/common/loadScript.js.map +1 -1
- package/lib/common/localization.d.ts +17 -10
- package/lib/common/localization.js +653 -18
- package/lib/common/localization.js.map +1 -1
- package/lib/common/pageVisibility.d.ts +34 -20
- package/lib/common/pageVisibility.js +57 -48
- package/lib/common/pageVisibility.js.map +1 -1
- package/lib/common/validate.js +2 -2
- package/lib/common/validate.js.map +1 -1
- package/lib/dependency-injection/Container.d.ts +2 -2
- package/lib/dependency-injection/Container.js +10 -10
- package/lib/dependency-injection/Container.js.map +1 -1
- package/lib/dependency-injection/RootServices.d.ts +5 -1
- package/lib/dependency-injection/RootServices.js.map +1 -1
- package/lib/environment.json +1 -1
- package/lib/events/scan.js +1 -1
- package/lib/events/scan.js.map +1 -1
- package/lib/extensions/LensSources.d.ts +5 -5
- package/lib/extensions/LensSources.js +9 -9
- package/lib/extensions/LensSources.js.map +1 -1
- package/lib/extensions/UriHandlers.d.ts +1 -1
- package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts +17 -0
- package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.js +63 -1
- package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.js.map +1 -1
- package/lib/generated-proto/pb_schema/camera_kit/v3/export.d.ts +38 -1
- package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts +5 -0
- package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js +61 -0
- package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js.map +1 -1
- package/lib/generated-proto/pb_schema/camera_kit/v3/lens.d.ts +64 -3
- package/lib/generated-proto/pb_schema/camera_kit/v3/lens.js +70 -2
- package/lib/generated-proto/pb_schema/camera_kit/v3/lens.js.map +1 -1
- package/lib/generated-proto/pb_schema/camera_kit/v3/service.d.ts +506 -3
- package/lib/generated-proto/pb_schema/camera_kit/v3/service.js +125 -3
- package/lib/generated-proto/pb_schema/camera_kit/v3/service.js.map +1 -1
- package/lib/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +1917 -1852
- package/lib/generated-proto/pb_schema/cdp/cof/circumstance_service.js +55 -132
- package/lib/generated-proto/pb_schema/cdp/cof/circumstance_service.js.map +1 -1
- package/lib/generated-proto/pb_schema/cdp/cof/config_request.d.ts +8 -1
- package/lib/generated-proto/pb_schema/cdp/cof/config_request.js.map +1 -1
- package/lib/generated-proto/pb_schema/cdp/cof/config_response.d.ts +265 -0
- package/lib/generated-proto/pb_schema/cdp/cof/config_result.d.ts +628 -1
- package/lib/generated-proto/pb_schema/cdp/cof/config_result.js +140 -2
- package/lib/generated-proto/pb_schema/cdp/cof/config_result.js.map +1 -1
- package/lib/generated-proto/pb_schema/common/ruid.d.ts +2 -0
- package/lib/generated-proto/pb_schema/common/ruid.js +2 -0
- package/lib/generated-proto/pb_schema/common/ruid.js.map +1 -1
- package/lib/generated-proto/pb_schema/common/value.d.ts +22 -0
- package/lib/generated-proto/pb_schema/common/value.js +45 -0
- package/lib/generated-proto/pb_schema/common/value.js.map +1 -1
- package/lib/generated-proto/pb_schema/lenses/launchdata.d.ts +2 -0
- package/lib/generated-proto/pb_schema/lenses/launchdata.js +12 -0
- package/lib/generated-proto/pb_schema/lenses/launchdata.js.map +1 -1
- package/lib/handlers/HandlerChainBuilder.js +7 -2
- package/lib/handlers/HandlerChainBuilder.js.map +1 -1
- package/lib/handlers/batchingHandler.d.ts +8 -2
- package/lib/handlers/batchingHandler.js +5 -8
- package/lib/handlers/batchingHandler.js.map +1 -1
- package/lib/handlers/mappingHandler.d.ts +5 -1
- package/lib/handlers/mappingHandler.js +6 -4
- package/lib/handlers/mappingHandler.js.map +1 -1
- package/lib/handlers/rateLimitingHandler.d.ts +5 -1
- package/lib/handlers/rateLimitingHandler.js +6 -4
- package/lib/handlers/rateLimitingHandler.js.map +1 -1
- package/lib/handlers/requestStateEmittingHandler.d.ts +18 -5
- package/lib/handlers/requestStateEmittingHandler.js +12 -8
- package/lib/handlers/requestStateEmittingHandler.js.map +1 -1
- package/lib/handlers/responseCachingHandler.d.ts +1 -1
- package/lib/handlers/responseCachingHandler.js +1 -1
- package/lib/handlers/responseCachingHandler.js.map +1 -1
- package/lib/handlers/retryingHandler.d.ts +5 -1
- package/lib/handlers/retryingHandler.js +13 -9
- package/lib/handlers/retryingHandler.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js.map +1 -1
- package/lib/legal/legalPrompt.d.ts +7 -4
- package/lib/legal/legalPrompt.js +122 -133
- package/lib/legal/legalPrompt.js.map +1 -1
- package/lib/legal/legalState.d.ts +2 -2
- package/lib/legal/legalState.js +52 -38
- package/lib/legal/legalState.js.map +1 -1
- package/lib/lens/Lens.d.ts +32 -3
- package/lib/lens/Lens.js +10 -3
- package/lib/lens/Lens.js.map +1 -1
- package/lib/lens/LensLaunchParams.js +6 -4
- package/lib/lens/LensLaunchParams.js.map +1 -1
- package/lib/lens/LensPersistenceStore.js +1 -1
- package/lib/lens/LensPersistenceStore.js.map +1 -1
- package/lib/lens/LensRepository.d.ts +3 -2
- package/lib/lens/LensRepository.js +6 -5
- package/lib/lens/LensRepository.js.map +1 -1
- package/lib/lens/assets/LensAssetRepository.d.ts +5 -3
- package/lib/lens/assets/LensAssetRepository.js +21 -12
- package/lib/lens/assets/LensAssetRepository.js.map +1 -1
- package/lib/lens/assets/LensAssetsProvider.js +1 -1
- package/lib/lens/assets/LensAssetsProvider.js.map +1 -1
- package/lib/lens/lensEnvelopeUtil.js +1 -1
- package/lib/lens/lensEnvelopeUtil.js.map +1 -1
- package/lib/lens-client-interface/imagePicker.js +2 -2
- package/lib/lens-client-interface/imagePicker.js.map +1 -1
- package/lib/lens-client-interface/lensClientInterface.js +1 -1
- package/lib/lens-client-interface/lensClientInterface.js.map +1 -1
- package/lib/lens-core-module/loader/lensCoreFactory.js +4 -2
- package/lib/lens-core-module/loader/lensCoreFactory.js.map +1 -1
- package/lib/lensCoreWasmVersions.json +3 -3
- package/lib/logger/logEntries.d.ts +1 -1
- package/lib/logger/logEntries.js +3 -3
- package/lib/logger/logEntries.js.map +1 -1
- package/lib/logger/logger.d.ts +7 -2
- package/lib/logger/logger.js +9 -4
- package/lib/logger/logger.js.map +1 -1
- package/lib/media-sources/FunctionSource.js +1 -1
- package/lib/media-sources/FunctionSource.js.map +1 -1
- package/lib/media-sources/MediaStreamSource.d.ts +5 -1
- package/lib/media-sources/MediaStreamSource.js +14 -5
- package/lib/media-sources/MediaStreamSource.js.map +1 -1
- package/lib/metrics/businessEventsReporter.d.ts +3 -2
- package/lib/metrics/businessEventsReporter.js +16 -9
- package/lib/metrics/businessEventsReporter.js.map +1 -1
- package/lib/metrics/metricsHandler.d.ts +3 -2
- package/lib/metrics/metricsHandler.js +3 -3
- package/lib/metrics/metricsHandler.js.map +1 -1
- package/lib/metrics/operational/Count.d.ts +17 -0
- package/lib/metrics/operational/Count.js +28 -0
- package/lib/metrics/operational/Count.js.map +1 -0
- package/lib/metrics/operational/Histogram.d.ts +17 -0
- package/lib/metrics/operational/Histogram.js +23 -0
- package/lib/metrics/operational/Histogram.js.map +1 -0
- package/lib/metrics/operational/Metric.d.ts +20 -0
- package/lib/metrics/operational/Metric.js +26 -0
- package/lib/metrics/operational/Metric.js.map +1 -0
- package/lib/metrics/operational/Timer.d.ts +91 -0
- package/lib/metrics/operational/Timer.js +122 -0
- package/lib/metrics/operational/Timer.js.map +1 -0
- package/lib/metrics/{operationalMetricsReporter.d.ts → operational/operationalMetricsReporter.d.ts} +15 -4
- package/lib/metrics/{operationalMetricsReporter.js → operational/operationalMetricsReporter.js} +24 -8
- package/lib/metrics/operational/operationalMetricsReporter.js.map +1 -0
- package/lib/metrics/reporters/reportBenchmarks.d.ts +1 -1
- package/lib/metrics/reporters/reportBenchmarks.js +1 -1
- package/lib/metrics/reporters/reportBenchmarks.js.map +1 -1
- package/lib/metrics/reporters/reportGlobalException.d.ts +1 -1
- package/lib/metrics/reporters/reportGlobalException.js +1 -1
- package/lib/metrics/reporters/reportGlobalException.js.map +1 -1
- package/lib/metrics/reporters/reportHttpMetrics.d.ts +4 -4
- package/lib/metrics/reporters/reportHttpMetrics.js +3 -3
- package/lib/metrics/reporters/reportHttpMetrics.js.map +1 -1
- package/lib/metrics/reporters/reportLegalState.d.ts +1 -1
- package/lib/metrics/reporters/reportLegalState.js +1 -1
- package/lib/metrics/reporters/reportLegalState.js.map +1 -1
- package/lib/metrics/reporters/reportLensAndAssetDownload.d.ts +4 -4
- package/lib/metrics/reporters/reportLensAndAssetDownload.js +7 -3
- package/lib/metrics/reporters/reportLensAndAssetDownload.js.map +1 -1
- package/lib/metrics/reporters/reportLensValidationFailed.d.ts +1 -1
- package/lib/metrics/reporters/reportLensView.d.ts +2 -2
- package/lib/metrics/reporters/reportLensView.js +23 -17
- package/lib/metrics/reporters/reportLensView.js.map +1 -1
- package/lib/metrics/reporters/reportLensWait.d.ts +2 -2
- package/lib/metrics/reporters/reportLensWait.js +1 -1
- package/lib/metrics/reporters/reportLensWait.js.map +1 -1
- package/lib/metrics/reporters/reportSessionException.d.ts +1 -1
- package/lib/metrics/reporters/reporters.d.ts +7 -6
- package/lib/metrics/reporters/reporters.js +3 -3
- package/lib/metrics/reporters/reporters.js.map +1 -1
- package/lib/observable-operators/unsubscribed.d.ts +12 -0
- package/lib/observable-operators/unsubscribed.js +27 -0
- package/lib/observable-operators/unsubscribed.js.map +1 -0
- package/lib/remote-configuration/cofHandler.d.ts +3 -2
- package/lib/remote-configuration/cofHandler.js +8 -4
- package/lib/remote-configuration/cofHandler.js.map +1 -1
- package/lib/remote-configuration/remoteConfiguration.d.ts +16 -4
- package/lib/remote-configuration/remoteConfiguration.js +32 -6
- package/lib/remote-configuration/remoteConfiguration.js.map +1 -1
- package/lib/session/CameraKitSession.d.ts +4 -4
- package/lib/session/CameraKitSession.js +10 -9
- package/lib/session/CameraKitSession.js.map +1 -1
- package/lib/session/LensKeyboard.d.ts +1 -1
- package/lib/session/LensPerformanceMeasurement.d.ts +2 -0
- package/lib/session/LensPerformanceMeasurement.js +27 -4
- package/lib/session/LensPerformanceMeasurement.js.map +1 -1
- package/lib/session/lensState.d.ts +5 -4
- package/lib/session/lensState.js +95 -41
- package/lib/session/lensState.js.map +1 -1
- package/package.json +12 -12
- package/lib/metrics/operationalMetricsReporter.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LensRepository | CameraKit Web SDK - v0.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LensRepository | CameraKit Web SDK - v0.11.0-alpha.1</title><meta name="description" content="Documentation for CameraKit Web SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">CameraKit Web SDK - v0.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">CameraKit Web SDK - v0.11.0-alpha.1</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-content">
|
|
@@ -19,8 +19,9 @@
|
|
|
19
19
|
<div class="tsd-comment tsd-typography"><p>The LensRepository is used to query for lenses from specific lens groups, or for a lens with a specific ID.</p>
|
|
20
20
|
<p>Lens groups are configured in the CameraKit Portal -- that's where you'll find lens group IDs and lens IDs.</p>
|
|
21
21
|
<p>Lenses must be loaded by the LensRepository before they can be applied to a <a href="CameraKitSession.html" class="tsd-kind-class">CameraKitSession</a>.</p>
|
|
22
|
-
|
|
23
|
-
<
|
|
22
|
+
</div>
|
|
23
|
+
<div class="tsd-comment tsd-typography">
|
|
24
|
+
<h4>Example</h4><pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-6">cameraKit</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-5">bootstrapCameraKit</span><span class="hl-1">(</span><span class="hl-0">options</span><span class="hl-1">)</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-6">session</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKit</span><span class="hl-1">.</span><span class="hl-5">createSession</span><span class="hl-1">()</span><br/><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-6">lens</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKit</span><span class="hl-1">.</span><span class="hl-0">lensRepository</span><span class="hl-1">.</span><span class="hl-5">loadLens</span><span class="hl-1">(</span><span class="hl-0">lensId</span><span class="hl-1">, </span><span class="hl-0">groupId</span><span class="hl-1">)</span><br/><span class="hl-0">session</span><span class="hl-1">.</span><span class="hl-5">applyLens</span><span class="hl-1">(</span><span class="hl-0">lens</span><span class="hl-1">)</span>
|
|
24
25
|
</code><button>Copy</button></pre>
|
|
25
26
|
</div></section>
|
|
26
27
|
<section class="tsd-panel tsd-hierarchy">
|
|
@@ -34,18 +35,18 @@
|
|
|
34
35
|
<div class="tsd-accordion-details">
|
|
35
36
|
<section class="tsd-index-section">
|
|
36
37
|
<h3 class="tsd-index-heading">Methods</h3>
|
|
37
|
-
<div class="tsd-index-list"><a href="LensRepository.html#loadLens" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
38
|
-
<a href="LensRepository.html#loadLensGroups" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
39
|
-
<a href="LensRepository.html#cacheLensContent" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
40
|
-
<a href="LensRepository.html#getLensMetadata" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
41
|
-
<a href="LensRepository.html#removeCachedLenses" class="tsd-index-link"><svg class="tsd-kind-icon"
|
|
38
|
+
<div class="tsd-index-list"><a href="LensRepository.html#loadLens" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>load<wbr/>Lens</span></a>
|
|
39
|
+
<a href="LensRepository.html#loadLensGroups" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>load<wbr/>Lens<wbr/>Groups</span></a>
|
|
40
|
+
<a href="LensRepository.html#cacheLensContent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>cache<wbr/>Lens<wbr/>Content</span></a>
|
|
41
|
+
<a href="LensRepository.html#getLensMetadata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Lens<wbr/>Metadata</span></a>
|
|
42
|
+
<a href="LensRepository.html#removeCachedLenses" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>remove<wbr/>Cached<wbr/>Lenses</span></a>
|
|
42
43
|
</div></section></div></details></section></section>
|
|
43
44
|
<section class="tsd-panel-group tsd-member-group">
|
|
44
45
|
<h2>Methods</h2>
|
|
45
46
|
<section class="tsd-panel tsd-member"><a id="loadLens" class="tsd-anchor"></a>
|
|
46
|
-
<h3 class="tsd-anchor-link"><span>load<wbr/>Lens</span><a href="#loadLens" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
47
|
+
<h3 class="tsd-anchor-link"><span>load<wbr/>Lens</span><a href="#loadLens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
|
47
48
|
<ul class="tsd-signatures">
|
|
48
|
-
<li class="tsd-signature tsd-anchor-link" id="loadLens.loadLens-1"><span class="tsd-kind-call-signature">load<wbr/>Lens</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lensId</span>, <span class="tsd-kind-parameter">groupId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">></span><a href="#loadLens.loadLens-1" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
49
|
+
<li class="tsd-signature tsd-anchor-link" id="loadLens.loadLens-1"><span class="tsd-kind-call-signature">load<wbr/>Lens</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lensId</span>, <span class="tsd-kind-parameter">groupId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">></span><a href="#loadLens.loadLens-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
49
50
|
<li class="tsd-description">
|
|
50
51
|
<div class="tsd-comment tsd-typography"><p>Retrieve a single Lens.</p>
|
|
51
52
|
</div>
|
|
@@ -55,17 +56,20 @@
|
|
|
55
56
|
<li>
|
|
56
57
|
<h5><span class="tsd-kind-parameter">lensId</span>: <span class="tsd-signature-type">string</span></h5>
|
|
57
58
|
<div class="tsd-comment tsd-typography"><p>Desired Lens's unique ID. Can be found in the CameraKit Portal.</p>
|
|
58
|
-
</div
|
|
59
|
+
</div>
|
|
60
|
+
<div class="tsd-comment tsd-typography"></div></li>
|
|
59
61
|
<li>
|
|
60
62
|
<h5><span class="tsd-kind-parameter">groupId</span>: <span class="tsd-signature-type">string</span></h5>
|
|
61
63
|
<div class="tsd-comment tsd-typography"><p>The ID of a group containing the desired Lens. Can be found in the CameraKit Portal.</p>
|
|
62
|
-
</div
|
|
64
|
+
</div>
|
|
65
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
63
66
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">></span></h4><p>Resolves with the desired Lens, or rejects if an error occurred (including a missing Lens).</p>
|
|
64
|
-
|
|
67
|
+
|
|
68
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
65
69
|
<section class="tsd-panel tsd-member"><a id="loadLensGroups" class="tsd-anchor"></a>
|
|
66
|
-
<h3 class="tsd-anchor-link"><span>load<wbr/>Lens<wbr/>Groups</span><a href="#loadLensGroups" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
70
|
+
<h3 class="tsd-anchor-link"><span>load<wbr/>Lens<wbr/>Groups</span><a href="#loadLensGroups" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
67
71
|
<ul class="tsd-signatures">
|
|
68
|
-
<li class="tsd-signature tsd-anchor-link" id="loadLensGroups.loadLensGroups-1"><span class="tsd-kind-call-signature">load<wbr/>Lens<wbr/>Groups</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">groupIds</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">errors</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Error</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">lenses</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><a href="#loadLensGroups.loadLensGroups-1" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
72
|
+
<li class="tsd-signature tsd-anchor-link" id="loadLensGroups.loadLensGroups-1"><span class="tsd-kind-call-signature">load<wbr/>Lens<wbr/>Groups</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">groupIds</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">errors</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Error</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">lenses</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span><a href="#loadLensGroups.loadLensGroups-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
69
73
|
<li class="tsd-description">
|
|
70
74
|
<div class="tsd-comment tsd-typography"><p>Retrieve the Lenses contained in a list of Lens Groups.</p>
|
|
71
75
|
<p>This may result in multiple requests to retrieve Lens data (e.g. one per desired group). If any constituent
|
|
@@ -78,24 +82,23 @@ Lenses which could be successfully retrieved will be available in the response.<
|
|
|
78
82
|
<li>
|
|
79
83
|
<h5><span class="tsd-kind-parameter">groupIds</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
80
84
|
<div class="tsd-comment tsd-typography"><p>A list of Lens Group IDs. Can be found in the CameraKit Portal.</p>
|
|
81
|
-
</div
|
|
85
|
+
</div>
|
|
86
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
82
87
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">errors</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Error</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><span class="tsd-kind-property">lenses</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></h4><p>Resolves with a flattened list of all lenses in the desired groups. If any errors occurred during the
|
|
83
88
|
query operation, these will be included in a separate list. If errors are present, the list of Lenses may not
|
|
84
89
|
contain all the Lenses from the desired groups.</p>
|
|
85
|
-
|
|
90
|
+
|
|
91
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
86
92
|
<section class="tsd-panel tsd-member"><a id="cacheLensContent" class="tsd-anchor"></a>
|
|
87
|
-
<h3 class="tsd-anchor-link"><span>cache<wbr/>Lens<wbr/>Content</span><a href="#cacheLensContent" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
93
|
+
<h3 class="tsd-anchor-link"><span>cache<wbr/>Lens<wbr/>Content</span><a href="#cacheLensContent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
88
94
|
<ul class="tsd-signatures">
|
|
89
|
-
<li class="tsd-signature tsd-anchor-link" id="cacheLensContent.cacheLensContent-1"><span class="tsd-kind-call-signature">cache<wbr/>Lens<wbr/>Content</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lenses</span>, <span class="tsd-kind-parameter">assetTimingsToCache</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#cacheLensContent.cacheLensContent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
95
|
+
<li class="tsd-signature tsd-anchor-link" id="cacheLensContent.cacheLensContent-1"><span class="tsd-kind-call-signature">cache<wbr/>Lens<wbr/>Content</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lenses</span>, <span class="tsd-kind-parameter">assetTimingsToCache</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#cacheLensContent.cacheLensContent-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
90
96
|
<li class="tsd-description">
|
|
91
97
|
<div class="tsd-comment tsd-typography"><p>Loads and caches lens content and dependencies to reduce latency when <a href="CameraKitSession.html#applyLens" class="tsd-kind-method">applyLens</a> is later
|
|
92
98
|
called to apply the lens. This is an in-memory cache, it will not be persisted across page loads.</p>
|
|
93
99
|
<p>This may useful if the application A) knows which lenses will be applied and B) has some opportunity to call
|
|
94
100
|
this method before a lens is applied. For example, if the user must perform some other actions before lenses
|
|
95
101
|
become active, this might be a good opportunity to cache lenses to improve applyLens latency.</p>
|
|
96
|
-
|
|
97
|
-
<h3>Example</h3><pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-6">lens</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKit</span><span class="hl-1">.</span><span class="hl-0">lensRepository</span><span class="hl-1">.</span><span class="hl-5">loadLens</span><span class="hl-1">(</span><span class="hl-0">lensId</span><span class="hl-1">, </span><span class="hl-0">groupId</span><span class="hl-1">)</span><br/><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKit</span><span class="hl-1">.</span><span class="hl-0">lensRepository</span><span class="hl-1">.</span><span class="hl-5">cacheLensContent</span><span class="hl-1">([</span><span class="hl-0">lens</span><span class="hl-1">])</span><br/><br/><span class="hl-7">// sometime later -- this call will use the cached lens content, making lens application faster.</span><br/><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKitSession</span><span class="hl-1">.</span><span class="hl-5">applyLens</span><span class="hl-1">(</span><span class="hl-0">lens</span><span class="hl-1">)</span>
|
|
98
|
-
</code><button>Copy</button></pre>
|
|
99
102
|
</div>
|
|
100
103
|
<div class="tsd-parameters">
|
|
101
104
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -103,19 +106,25 @@ become active, this might be a good opportunity to cache lenses to improve apply
|
|
|
103
106
|
<li>
|
|
104
107
|
<h5><span class="tsd-kind-parameter">lenses</span>: <a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">[]</span></h5>
|
|
105
108
|
<div class="tsd-comment tsd-typography"><p>Array of lenses to cache in memory.</p>
|
|
106
|
-
</div
|
|
109
|
+
</div>
|
|
110
|
+
<div class="tsd-comment tsd-typography"></div></li>
|
|
107
111
|
<li>
|
|
108
112
|
<h5><span class="tsd-kind-parameter">assetTimingsToCache</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">"required"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"onDemand"</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ...</span></h5>
|
|
109
113
|
<div class="tsd-comment tsd-typography"><p>Lenses specify certain required assets that are necessary for the lens to render, and
|
|
110
114
|
other assets which may be needed by the lens. By default this method will cache all of those assets, but this
|
|
111
115
|
behavior can be modified to only load the required assets, only the "onDemand" assets, or neither (by passing
|
|
112
116
|
an empty array).</p>
|
|
113
|
-
</div
|
|
114
|
-
<
|
|
117
|
+
</div>
|
|
118
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
119
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
|
120
|
+
<div class="tsd-comment tsd-typography">
|
|
121
|
+
<h4>Example</h4><pre><code class="language-ts"><span class="hl-4">const</span><span class="hl-1"> </span><span class="hl-6">lens</span><span class="hl-1"> = </span><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKit</span><span class="hl-1">.</span><span class="hl-0">lensRepository</span><span class="hl-1">.</span><span class="hl-5">loadLens</span><span class="hl-1">(</span><span class="hl-0">lensId</span><span class="hl-1">, </span><span class="hl-0">groupId</span><span class="hl-1">)</span><br/><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKit</span><span class="hl-1">.</span><span class="hl-0">lensRepository</span><span class="hl-1">.</span><span class="hl-5">cacheLensContent</span><span class="hl-1">([</span><span class="hl-0">lens</span><span class="hl-1">])</span><br/><br/><span class="hl-7">// sometime later -- this call will use the cached lens content, making lens application faster.</span><br/><span class="hl-2">await</span><span class="hl-1"> </span><span class="hl-0">cameraKitSession</span><span class="hl-1">.</span><span class="hl-5">applyLens</span><span class="hl-1">(</span><span class="hl-0">lens</span><span class="hl-1">)</span>
|
|
122
|
+
</code><button>Copy</button></pre>
|
|
123
|
+
</div></li></ul></section>
|
|
115
124
|
<section class="tsd-panel tsd-member"><a id="getLensMetadata" class="tsd-anchor"></a>
|
|
116
|
-
<h3 class="tsd-anchor-link"><span>get<wbr/>Lens<wbr/>Metadata</span><a href="#getLensMetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
125
|
+
<h3 class="tsd-anchor-link"><span>get<wbr/>Lens<wbr/>Metadata</span><a href="#getLensMetadata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
117
126
|
<ul class="tsd-signatures">
|
|
118
|
-
<li class="tsd-signature tsd-anchor-link" id="getLensMetadata.getLensMetadata-1"><span class="tsd-kind-call-signature">get<wbr/>Lens<wbr/>Metadata</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lensId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">LensProto</span><a href="#getLensMetadata.getLensMetadata-1" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
127
|
+
<li class="tsd-signature tsd-anchor-link" id="getLensMetadata.getLensMetadata-1"><span class="tsd-kind-call-signature">get<wbr/>Lens<wbr/>Metadata</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lensId</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">LensProto</span><a href="#getLensMetadata.getLensMetadata-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
119
128
|
<li class="tsd-description">
|
|
120
129
|
<div class="tsd-comment tsd-typography"><p>Returns loaded Lens metadata if available.</p>
|
|
121
130
|
</div>
|
|
@@ -124,11 +133,12 @@ an empty array).</p>
|
|
|
124
133
|
<ul class="tsd-parameter-list">
|
|
125
134
|
<li>
|
|
126
135
|
<h5><span class="tsd-kind-parameter">lensId</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
127
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">LensProto</span></h4
|
|
136
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type ">LensProto</span></h4>
|
|
137
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
128
138
|
<section class="tsd-panel tsd-member"><a id="removeCachedLenses" class="tsd-anchor"></a>
|
|
129
|
-
<h3 class="tsd-anchor-link"><span>remove<wbr/>Cached<wbr/>Lenses</span><a href="#removeCachedLenses" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
139
|
+
<h3 class="tsd-anchor-link"><span>remove<wbr/>Cached<wbr/>Lenses</span><a href="#removeCachedLenses" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
130
140
|
<ul class="tsd-signatures">
|
|
131
|
-
<li class="tsd-signature tsd-anchor-link" id="removeCachedLenses.removeCachedLenses-1"><span class="tsd-kind-call-signature">remove<wbr/>Cached<wbr/>Lenses</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lenses</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeCachedLenses.removeCachedLenses-1" aria-label="Permalink" class="tsd-anchor-icon"><svg
|
|
141
|
+
<li class="tsd-signature tsd-anchor-link" id="removeCachedLenses.removeCachedLenses-1"><span class="tsd-kind-call-signature">remove<wbr/>Cached<wbr/>Lenses</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">lenses</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeCachedLenses.removeCachedLenses-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
132
142
|
<li class="tsd-description">
|
|
133
143
|
<div class="tsd-comment tsd-typography"><p>Removes Lens content from the in-memory cache.</p>
|
|
134
144
|
</div>
|
|
@@ -137,12 +147,13 @@ an empty array).</p>
|
|
|
137
147
|
<ul class="tsd-parameter-list">
|
|
138
148
|
<li>
|
|
139
149
|
<h5><span class="tsd-kind-parameter">lenses</span>: <a href="../interfaces/Lens.html" class="tsd-signature-type tsd-kind-interface">Lens</a><span class="tsd-signature-symbol">[]</span></h5></li></ul></div>
|
|
140
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4
|
|
150
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
151
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section></section></div>
|
|
141
152
|
<div class="col-sidebar">
|
|
142
153
|
<div class="page-menu">
|
|
143
154
|
<div class="tsd-navigation settings">
|
|
144
155
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
145
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>Settings</h3></summary>
|
|
156
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
146
157
|
<div class="tsd-accordion-details">
|
|
147
158
|
<div class="tsd-filter-visibility">
|
|
148
159
|
<h4 class="uppercase">Member Visibility</h4><form>
|
|
@@ -152,84 +163,86 @@ an empty array).</p>
|
|
|
152
163
|
<div class="tsd-theme-toggle">
|
|
153
164
|
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
154
165
|
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
155
|
-
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><
|
|
166
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
|
156
167
|
<div class="tsd-accordion-details">
|
|
157
168
|
<ul>
|
|
158
|
-
<li><a href="#loadLens" class=""><svg class="tsd-kind-icon"
|
|
159
|
-
<li><a href="#loadLensGroups" class=""><svg class="tsd-kind-icon"
|
|
160
|
-
<li><a href="#cacheLensContent" class=""><svg class="tsd-kind-icon"
|
|
161
|
-
<li><a href="#getLensMetadata" class=""><svg class="tsd-kind-icon"
|
|
162
|
-
<li><a href="#removeCachedLenses" class=""><svg class="tsd-kind-icon"
|
|
169
|
+
<li><a href="#loadLens" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>load<wbr/>Lens</span></a></li>
|
|
170
|
+
<li><a href="#loadLensGroups" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>load<wbr/>Lens<wbr/>Groups</span></a></li>
|
|
171
|
+
<li><a href="#cacheLensContent" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>cache<wbr/>Lens<wbr/>Content</span></a></li>
|
|
172
|
+
<li><a href="#getLensMetadata" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Lens<wbr/>Metadata</span></a></li>
|
|
173
|
+
<li><a href="#removeCachedLenses" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>remove<wbr/>Cached<wbr/>Lenses</span></a></li></ul></div></details></div>
|
|
163
174
|
<div class="site-menu">
|
|
164
|
-
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon"
|
|
175
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Kit <wbr/>Web SDK -<wbr/> v0.11.0-<wbr/>alpha.1</span></a>
|
|
165
176
|
<ul class="tsd-small-nested-navigation">
|
|
166
|
-
<li><a href="CameraKit.html"><svg class="tsd-kind-icon"
|
|
167
|
-
<li><a href="TypedCustomEvent.html"><svg class="tsd-kind-icon"
|
|
168
|
-
<li><a href="TypedEventTarget.html"><svg class="tsd-kind-icon"
|
|
169
|
-
<li><a href="LensSources.html"><svg class="tsd-kind-icon"
|
|
170
|
-
<li><a href="LensRepository.html" class="current"><svg class="tsd-kind-icon"
|
|
171
|
-
<li><a href="CameraKitSource.html"><svg class="tsd-kind-icon"
|
|
172
|
-
<li><a href="CameraKitSession.html"><svg class="tsd-kind-icon"
|
|
173
|
-
<li><a href="LensPerformanceMeasurement.html"><svg class="tsd-kind-icon"
|
|
174
|
-
<li><a href="LensPerformanceMetrics.html"><svg class="tsd-kind-icon"
|
|
175
|
-
<li><a href="Transform2D.html"><svg class="tsd-kind-icon"
|
|
176
|
-
<li><a href="../interfaces/CreateSessionOptions.html"><svg class="tsd-kind-icon"
|
|
177
|
-
<li><a href="../interfaces/EstimatedLensPerformance.html"><svg class="tsd-kind-icon"
|
|
178
|
-
<li><a href="../interfaces/CameraKitBootstrapConfiguration.html"><svg class="tsd-kind-icon"
|
|
179
|
-
<li><a href="../interfaces/LensSource.html"><svg class="tsd-kind-icon"
|
|
180
|
-
<li><a href="../interfaces/UriHandler.html"><svg class="tsd-kind-icon"
|
|
181
|
-
<li><a href="../interfaces/UriRequest.html"><svg class="tsd-kind-icon"
|
|
182
|
-
<li><a href="../interfaces/UriResponse.html"><svg class="tsd-kind-icon"
|
|
183
|
-
<li><a href="../interfaces/UriCancelRequest.html"><svg class="tsd-kind-icon"
|
|
184
|
-
<li><a href="../interfaces/Lens.html"><svg class="tsd-kind-icon"
|
|
185
|
-
<li><a href="../interfaces/
|
|
186
|
-
<li><a href="../interfaces/
|
|
187
|
-
<li><a href="../interfaces/
|
|
188
|
-
<li><a href="../interfaces/
|
|
189
|
-
<li><a href="../
|
|
190
|
-
<li><a href="../
|
|
191
|
-
<li><a href="../types/
|
|
192
|
-
<li><a href="../types/
|
|
193
|
-
<li><a href="../types/
|
|
194
|
-
<li><a href="../types/
|
|
195
|
-
<li><a href="../types/
|
|
196
|
-
<li><a href="../types/
|
|
197
|
-
<li><a href="../types/
|
|
198
|
-
<li><a href="../types/
|
|
199
|
-
<li><a href="../types/
|
|
200
|
-
<li><a href="../types/
|
|
201
|
-
<li><a href="../types/
|
|
202
|
-
<li><a href="../types/
|
|
203
|
-
<li><a href="../types/
|
|
204
|
-
<li><a href="../types/
|
|
205
|
-
<li><a href="../types/
|
|
206
|
-
<li><a href="../types/
|
|
207
|
-
<li><a href="../types/
|
|
208
|
-
<li><a href="../types/
|
|
209
|
-
<li><a href="../types/
|
|
210
|
-
<li><a href="../types/
|
|
211
|
-
<li><a href="../types/
|
|
212
|
-
<li><a href="../types/
|
|
213
|
-
<li><a href="../types/
|
|
214
|
-
<li><a href="../types/
|
|
215
|
-
<li><a href="../types/
|
|
216
|
-
<li><a href="../types/
|
|
217
|
-
<li><a href="../types/
|
|
218
|
-
<li><a href="../types/
|
|
219
|
-
<li><a href="../types/
|
|
220
|
-
<li><a href="../types/
|
|
221
|
-
<li><a href="../
|
|
222
|
-
<li><a href="../
|
|
223
|
-
<li><a href="../
|
|
224
|
-
<li><a href="../functions/
|
|
225
|
-
<li><a href="../functions/
|
|
226
|
-
<li><a href="../functions/
|
|
227
|
-
<li><a href="../functions/
|
|
228
|
-
<li><a href="../functions/
|
|
229
|
-
<li><a href="../functions/
|
|
230
|
-
<li><a href="../functions/
|
|
231
|
-
<li><a href="../functions/
|
|
232
|
-
<li><a href="../functions/
|
|
177
|
+
<li><a href="CameraKit.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Kit</span></a></li>
|
|
178
|
+
<li><a href="TypedCustomEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Typed<wbr/>Custom<wbr/>Event</span></a></li>
|
|
179
|
+
<li><a href="TypedEventTarget.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Typed<wbr/>Event<wbr/>Target</span></a></li>
|
|
180
|
+
<li><a href="LensSources.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Lens<wbr/>Sources</span></a></li>
|
|
181
|
+
<li><a href="LensRepository.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Lens<wbr/>Repository</span></a></li>
|
|
182
|
+
<li><a href="CameraKitSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Camera<wbr/>Kit<wbr/>Source</span></a></li>
|
|
183
|
+
<li><a href="CameraKitSession.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Camera<wbr/>Kit<wbr/>Session</span></a></li>
|
|
184
|
+
<li><a href="LensPerformanceMeasurement.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Lens<wbr/>Performance<wbr/>Measurement</span></a></li>
|
|
185
|
+
<li><a href="LensPerformanceMetrics.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Lens<wbr/>Performance<wbr/>Metrics</span></a></li>
|
|
186
|
+
<li><a href="Transform2D.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Transform2D</span></a></li>
|
|
187
|
+
<li><a href="../interfaces/CreateSessionOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Create<wbr/>Session<wbr/>Options</span></a></li>
|
|
188
|
+
<li><a href="../interfaces/EstimatedLensPerformance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Estimated<wbr/>Lens<wbr/>Performance</span></a></li>
|
|
189
|
+
<li><a href="../interfaces/CameraKitBootstrapConfiguration.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Camera<wbr/>Kit<wbr/>Bootstrap<wbr/>Configuration</span></a></li>
|
|
190
|
+
<li><a href="../interfaces/LensSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Lens<wbr/>Source</span></a></li>
|
|
191
|
+
<li><a href="../interfaces/UriHandler.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Uri<wbr/>Handler</span></a></li>
|
|
192
|
+
<li><a href="../interfaces/UriRequest.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Uri<wbr/>Request</span></a></li>
|
|
193
|
+
<li><a href="../interfaces/UriResponse.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Uri<wbr/>Response</span></a></li>
|
|
194
|
+
<li><a href="../interfaces/UriCancelRequest.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Uri<wbr/>Cancel<wbr/>Request</span></a></li>
|
|
195
|
+
<li><a href="../interfaces/Lens.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Lens</span></a></li>
|
|
196
|
+
<li><a href="../interfaces/Preview.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Preview</span></a></li>
|
|
197
|
+
<li><a href="../interfaces/Snapcode.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Snapcode</span></a></li>
|
|
198
|
+
<li><a href="../interfaces/CameraKitSourceSubscriber.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Camera<wbr/>Kit<wbr/>Source<wbr/>Subscriber</span></a></li>
|
|
199
|
+
<li><a href="../interfaces/MediaStreamSourceOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Media<wbr/>Stream<wbr/>Source<wbr/>Options</span></a></li>
|
|
200
|
+
<li><a href="../interfaces/VideoSourceOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Video<wbr/>Source<wbr/>Options</span></a></li>
|
|
201
|
+
<li><a href="../interfaces/ComputedFrameMetrics.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Computed<wbr/>Frame<wbr/>Metrics</span></a></li>
|
|
202
|
+
<li><a href="../types/LensMetricsEvents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Lens<wbr/>Metrics<wbr/>Events</span></a></li>
|
|
203
|
+
<li><a href="../types/LensPerformanceCluster.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Performance<wbr/>Cluster</span></a></li>
|
|
204
|
+
<li><a href="../types/PublicContainer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Public<wbr/>Container</span></a></li>
|
|
205
|
+
<li><a href="../types/UriHandlers.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Uri<wbr/>Handlers</span></a></li>
|
|
206
|
+
<li><a href="../types/Uri.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Uri</span></a></li>
|
|
207
|
+
<li><a href="../types/LensLaunchParams.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Launch<wbr/>Params</span></a></li>
|
|
208
|
+
<li><a href="../types/AssetTiming.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Asset<wbr/>Timing</span></a></li>
|
|
209
|
+
<li><a href="../types/AssetLoader.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Asset<wbr/>Loader</span></a></li>
|
|
210
|
+
<li><a href="../types/CameraKitDeviceInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Camera<wbr/>Kit<wbr/>Device<wbr/>Info</span></a></li>
|
|
211
|
+
<li><a href="../types/CameraKitSourceInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Camera<wbr/>Kit<wbr/>Source<wbr/>Info</span></a></li>
|
|
212
|
+
<li><a href="../types/CameraKitSourceOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Camera<wbr/>Kit<wbr/>Source<wbr/>Options</span></a></li>
|
|
213
|
+
<li><a href="../types/LensView.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>View</span></a></li>
|
|
214
|
+
<li><a href="../types/LensWait.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Wait</span></a></li>
|
|
215
|
+
<li><a href="../types/LegalError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Legal<wbr/>Error</span></a></li>
|
|
216
|
+
<li><a href="../types/LensContentValidationError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Content<wbr/>Validation<wbr/>Error</span></a></li>
|
|
217
|
+
<li><a href="../types/LensError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Error</span></a></li>
|
|
218
|
+
<li><a href="../types/CameraKitSourceError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Camera<wbr/>Kit<wbr/>Source<wbr/>Error</span></a></li>
|
|
219
|
+
<li><a href="../types/LensImagePickerError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Image<wbr/>Picker<wbr/>Error</span></a></li>
|
|
220
|
+
<li><a href="../types/CacheKeyNotFoundError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Cache<wbr/>Key<wbr/>Not<wbr/>Found<wbr/>Error</span></a></li>
|
|
221
|
+
<li><a href="../types/ConfigurationError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Configuration<wbr/>Error</span></a></li>
|
|
222
|
+
<li><a href="../types/WebGLError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>WebGLError</span></a></li>
|
|
223
|
+
<li><a href="../types/BenchmarkError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Benchmark<wbr/>Error</span></a></li>
|
|
224
|
+
<li><a href="../types/PlatformNotSupportedError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Platform<wbr/>Not<wbr/>Supported<wbr/>Error</span></a></li>
|
|
225
|
+
<li><a href="../types/LensExecutionError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Execution<wbr/>Error</span></a></li>
|
|
226
|
+
<li><a href="../types/PersistentStoreError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Persistent<wbr/>Store<wbr/>Error</span></a></li>
|
|
227
|
+
<li><a href="../types/LensAssetError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Lens<wbr/>Asset<wbr/>Error</span></a></li>
|
|
228
|
+
<li><a href="../types/BootstrapError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Bootstrap<wbr/>Error</span></a></li>
|
|
229
|
+
<li><a href="../types/RenderTarget.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Render<wbr/>Target</span></a></li>
|
|
230
|
+
<li><a href="../types/CameraKitSessionEvents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Camera<wbr/>Kit<wbr/>Session<wbr/>Events</span></a></li>
|
|
231
|
+
<li><a href="../types/CameraKitSessionEventListener.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Camera<wbr/>Kit<wbr/>Session<wbr/>Event<wbr/>Listener</span></a></li>
|
|
232
|
+
<li><a href="../types/KeyboardEvents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Keyboard<wbr/>Events</span></a></li>
|
|
233
|
+
<li><a href="../types/Keyboard.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Keyboard</span></a></li>
|
|
234
|
+
<li><a href="../variables/extensionRequestContext.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-32"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)"></path></g></svg><span>extension<wbr/>Request<wbr/>Context</span></a></li>
|
|
235
|
+
<li><a href="../functions/estimateLensPerformance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>estimate<wbr/>Lens<wbr/>Performance</span></a></li>
|
|
236
|
+
<li><a href="../functions/bootstrapCameraKit.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>bootstrap<wbr/>Camera<wbr/>Kit</span></a></li>
|
|
237
|
+
<li><a href="../functions/createExtension.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Extension</span></a></li>
|
|
238
|
+
<li><a href="../functions/Injectable.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Injectable</span></a></li>
|
|
239
|
+
<li><a href="../functions/lensSourcesFactory.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>lens<wbr/>Sources<wbr/>Factory</span></a></li>
|
|
240
|
+
<li><a href="../functions/uriHandlersFactory.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>uri<wbr/>Handlers<wbr/>Factory</span></a></li>
|
|
241
|
+
<li><a href="../functions/getRequiredBootstrapURLs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>get<wbr/>Required<wbr/>BootstrapURLs</span></a></li>
|
|
242
|
+
<li><a href="../functions/createImageSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Image<wbr/>Source</span></a></li>
|
|
243
|
+
<li><a href="../functions/createUserMediaSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>User<wbr/>Media<wbr/>Source</span></a></li>
|
|
244
|
+
<li><a href="../functions/createMediaStreamSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Media<wbr/>Stream<wbr/>Source</span></a></li>
|
|
245
|
+
<li><a href="../functions/createVideoSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>create<wbr/>Video<wbr/>Source</span></a></li></ul></nav></div></div></div>
|
|
233
246
|
<div class="tsd-generator">
|
|
234
247
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
235
248
|
<div class="overlay"></div></body></html>
|