Skip to content

Commit

Permalink
Rename URI to localURI for clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouault committed Jul 13, 2015
1 parent acbc5b4 commit f83a67f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PhoneGap plugin for managing application assets with javascript asset maps. Incl

### downloadFile()

**wizAssets.downloadFile(String URL, String URI, Function success, Function fail);**
**wizAssets.downloadFile(String remoteURL, String localURI, Function success, Function fail);**

- downloads a file to native App directory @ ./ + gameDir+ / +filePathToBeStoredWithFilename <br />
- A success returns a file URI string like; file://documents/settings/img/cards/card001.jpg <br />
Expand All @@ -36,7 +36,7 @@ wizAssets.downloadFile("http://google.com/logo.jpg", "img/ui/logo.jpg", successC

### deleteFile()

**wizAssets.deleteFile(string URI, Function success, Function fail);**
**wizAssets.deleteFile(string localURI, Function success, Function fail);**

- deletes the file specified by the URI <br />
- if the URI does not exist fail will be called with error NotFoundError <br />
Expand All @@ -48,15 +48,15 @@ wizAssets.deleteFile("file://documents/settings/img/cards/card001.jpg", successC

### deleteFiles()

**wizAssets.deleteFiles(Array URIs, Function success, Function fail );**
**wizAssets.deleteFiles(Array localURIs, Function success, Function fail );**

- delete all URIs in Array like; [ "img/cards/card001.jpg", "img/cards/card002.jpg " .. ] <br />
- if you do not specify a filename only dir, then all contents of dir will be deleted; img/cards <br />
- the array CAN contain one URI string

### getFileURI()

**wizAssets.getFileURI(String URI, Function success, Function fail);**
**wizAssets.getFileURI(String localURI, Function success, Function fail);**

- A success returns a file URI string like file://documents/settings/img/cards/card001.jpg <br />
- example;
Expand Down

0 comments on commit f83a67f

Please sign in to comment.