---
title: downloadAndInstall()
framework: speech
role: symbol
role_heading: Instance Method
path: speech/assetinstallationrequest/downloadandinstall()
---

# downloadAndInstall()

Downloads and installs assets not already on the device.

## Declaration

```swift
final func downloadAndInstall() async throws
```

## Discussion

Discussion If the system is unable to immediately download assets because of a connectivity issue or other error, the system will automatically attempt to download the assets later. This method will return when the initial download and installation attempt has succeeded or failed; use status(forModules:) or another installation request to monitor the success or progress of later attempts. The system consolidates download and installation requests; you may call this method several times without causing redundant downloads.
