Allows the user to download a file the user wants to.
Smart code
Syntax
DownloadFile(Title,Link,Authorisation)
Parameters
- Title (Required) – Title defines the caption of the verification message you want to show.
- Link (Required) – The link needs to be downloaded.
Direct Code
Syntax
try {
await Orefuncs.downloadFile(Orefuncs.OreDataValidate(<<Title>>,<<Link>>)
}
catch(ex) {
OreAlert.alert(ex.message);
}
this.setState({ spinner: false });