# requestAssetInfo Source: https://www.nianticspatial.com/docs/api/swift/NSDK.NSDKSitesSession.method-requestAssetInfo/ requestAssetInfo Requests asset info and waits for the result. --- ## Declaration func requestAssetInfo(assetId: String, pollingInterval: TimeInterval = 0.5, timeout: TimeInterval = 60.0) async throws -> AssetResult #### Summary Requests asset info and waits for the result. #### Returns An AssetResult containing the asset info. #### Throws - CancellationError if the Task running this function was cancelled. - TimeoutError if the function timed out before it could complete execution. - SitesResult.Error if there was an error specific to the network query. ### Parameters | Name | Type | Summary | | --- | --- | --- | | assetId | String | The asset ID to fetch info for. | | pollingInterval | TimeInterval | The interval between status checks (default: 0.5 seconds). | | timeout | TimeInterval | Maximum time to wait for completion (default: 60 seconds). | ---