Web View
Showing web pages in a Lens: the web page texture and its loading policy.
Commonly used
InternetModuleProvides access to the open internet.In Cloud, Networking & Storage › Internet AccessWebPageTextureProviderWebPageTextureProvider is the associated texture control that can be accessed from the texture.control property.
Guides
Internet AccessUse the Fetch API and InternetModule in a SPECS Lens to make HTTPS requests, call external APIs, download media, and check whether the internet is available.WebSocketConnect a SPECS Lens to real-time data streams over the internet with the WebSocket API, for live updates and two-way communication.Edge FunctionsDeploy a Snap Cloud edge function from the dashboard and call it from a SPECS Lens, with a sum example and an image round trip through Storage.StorageCreate a Snap Cloud storage bucket and download images, 3D models, and audio from it into a SPECS Lens.Authentication FlowImplement OAuth2 sign-in in SPECS Lenses with Auth Kit's Authorization Code and Implicit flows and deep link redirects.Script ModulesScript Modules allow you to encapsulate code to use throughout your project.
All APIs in this topic
Objects and data
| API | Description |
|---|---|
| WebPageTextureProvider SPECS | WebPageTextureProvider is the associated texture control that can be accessed from the texture.control property. |
| WebViewPolicy | WebViewPolicy allows creators to control what websites are allowed to be loaded in the WebView. |