GoogleARCore.CrossPlatform.XPSession

Represents a cross-platform ARCore session.

Summary

Public static functions

CreateCloudAnchor(Anchor anchor)
AsyncTask< CloudAnchorResult >
Attempts to asynchronously host a new cloud anchor.
ResolveCloudAnchor(string cloudAnchorId)
AsyncTask< CloudAnchorResult >
Attempts to asynchronous resolve a cloud anchor.

Public static functions

CreateCloudAnchor

AsyncTask< CloudAnchorResult > CreateCloudAnchor(
  Anchor anchor
)

Attempts to asynchronously host a new cloud anchor.

Details
Parameters
anchor
The anchor to host.
Returns
A task that will complete when the attempt to host a new cloud anchor has finished. The result will be a CloudAnchorResult associated with the operation.

ResolveCloudAnchor

AsyncTask< CloudAnchorResult > ResolveCloudAnchor(
  string cloudAnchorId
)

Attempts to asynchronous resolve a cloud anchor.

Details
Parameters
cloudAnchorId
The id of the cloud anchor to resolve.
Returns
A task that will complete when the attempt to host a new cloud anchor has finished. The result will be a CloudAnchorResult associated with the operation.

Send feedback about...