Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.Sites

SitesClientManager

↳ extends UnityEngine.MonoBehaviour
A MonoBehaviour component that provides access to the Sites API....

Declaration​

public class SitesClientManager : MonoBehaviour

Summary​

A MonoBehaviour component that provides access to the Sites API. Use this to query organizational hierarchy data including users, organizations, sites, and assets.

Remarks​

The SitesClientManager handles the lifecycle of the underlying SitesClient automatically. It creates the client on Awake and disposes it on OnDestroy.


Properties​

NameTypeSummary
readonly ClientSitesClient
-
RequestTimeoutSecondsint
-

Methods​

NameTypeSummary
GetAssetInfoAsyncTask<AssetResult>
-
GetAssetsForSiteAsyncTask<AssetResult>
-
GetOrganizationInfoAsyncTask<OrganizationResult>
-
GetOrganizationsForUserAsyncTask<OrganizationResult>
-
GetSelfOrganizationInfoAsyncTask<OrganizationResult>
-
GetSelfUserInfoAsyncTask<UserResult>
-
GetSiteAssetsByLocationAsyncTask<SiteAssetsResult>
-
GetSiteInfoAsyncTask<SiteResult>
-
GetSitesForOrganizationAsyncTask<SiteResult>
-
GetUserInfoAsyncTask<UserResult>
-