Skip to main content
←API Reference ←com.nianticspatial.nsdk.sites ←SitesSession

requestAssetsForSite

Requests all assets for a site.

Declaration​

suspend fun requestAssetsForSite( siteId: String, timeoutMs: Long = DEFAULT_TIMEOUT_MS ): AssetResult

Summary​

Requests all assets for a site.

Returns​

AssetResult containing the list of assets.

Throws​

  • SitesException — if the request fails with an error.
  • kotlinx.coroutines.CancellationException — if the coroutine is cancelled.