requestPersistentHandle

var requestPersistentHandle: () -> Promise<ERROR CLASS: Symbol not found for JsString>?(source)

When persistent anchors are supported, this method can be used to request a persistent handle for the anchor. The returned handle is a string which uniquely identifies the anchor.

If the anchor is deleted, the promise will be rejected with a InvalidStateError.

See also

https

://immersive-web.github.io/anchors/#dom-xranchor-requestpersistenthandle