ExperimentalReadonly ExperimentalcanCheck if there is any back history on the web stack.
Readonly ExperimentalcanCheck if there is any forward history on the web stack.
Readonly ExperimentalonThis event signals that the webview is ready for performing actions such as loadUrl, etc. This also is when the WebView should be visible on the Texture that was originally provided.
ExperimentalReturns the texture's aspect ratio, which is calculated as width / height.
ExperimentalReturns the height of the texture in pixels.
ExperimentalExperimentalReturns the name of this object's type.
ExperimentalReturns the width of the texture in pixels.
ExperimentalReturns true if the object matches or derives from the passed in type.
ExperimentalReturns true if this object is the same as other. Useful for checking if two references point to the same thing.
ExperimentalTouch will allow the lens creator to pass input events from the Lens to the WebView.
Note: Using the WebView from the Asset Library will have already implemented this logic with SIK and Hand Tracking and Mobile Controller and it is not expected for creators to re-implement this handling unless they wish to provide further customization and options.
WebPageTextureProvider is the associated texture control that can be accessed from the
texture.controlproperty. This allows you to call functions such asloadUrl(“https://snap.com”)or to pass input events to.Note: Most functionality will require the
onReadyevent to have been called. Any calls before this event may cause an exception.See
RemoteServiceModule#createWebView
Snap OS
Example