# MeshDownloaderSession Source: https://www.nianticspatial.com/docs/api/kotlin/com.nianticspatial.nsdk.mesh.MeshDownloaderSession/ MeshDownloaderSession > extends SessionBase --- ## Declaration class MeshDownloaderSession ## Summary 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, 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> | Streams mesh chunks for a VPS map asset, sorted closest-first by GPS position.MeshDownloader resolves the mesh sibling for [vpsMapAssetId] via SitesManager, thendownloads 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 | - | ---