MeshDownloaderSession
↳ extends SessionBase
Declaration
class MeshDownloaderSessionSummary
Creates a Mesh Downloader instance. The Mesh Downloader allows you to retrieve mesh geometry and textures for VPS locations.
Properties
| Name | Type | Summary |
|---|---|---|
| ardkHandle | Long | - |
Functions
| Name | Type | Summary |
|---|---|---|
| create | void | - |
| download | AsyncResult<Array<MeshDownloaderData>, MeshDownloaderError> | [Deprecated] Asynchronously downloads a mesh for a given location payload. This function suspends execution until the download operation is complete, has failed, or has timed out. |
| downloadByAsset | Flow<NSDKResult<MeshDownloaderData, MeshDownloaderError>> | Streams mesh chunks for a VPS map asset, sorted closest-first by GPS position. MeshDownloader resolves the mesh sibling for [vpsMapAssetId] via SitesManager, then downloads chunks. The flow completes normally when all chunks have been delivered ([MeshDownloaderError.NONE]) or when the cumulative size cap is hit ([MeshDownloaderError.SIZE_LIMIT_REACHED]). Other failures are emitted as [NSDKResult.Error]. |
| onDestroy | void | - |
| onInit | void | - |