| OLD | NEW |
| 1 <p> | 1 <p> |
| 2 The media galleries API allows you to access media files (images, | 2 The media galleries API allows you to access media files (images, |
| 3 video, audio) from the user's local disks (with the user's consent). | 3 video, audio) from the user's local disks (with the user's consent). |
| 4 </p> | 4 </p> |
| 5 | 5 |
| 6 <p> | 6 <p> |
| 7 Using the API, you can prompt the user for permission to access the media | 7 Using the API, you can prompt the user for permission to access the media |
| 8 galleries. The permission dialog will contain common media locations for | 8 galleries. The permission dialog will contain common media locations for |
| 9 the platform and will allow the user to add additional locations. From those | 9 the platform and will allow the user to add additional locations. From those |
| 10 locations, only media files will be present in the file system objects. | 10 locations, only media files will be present in the file system objects. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 }</pre> | 40 }</pre> |
| 41 | 41 |
| 42 <p>This set of permissions will trigger an install time permission prompt | 42 <p>This set of permissions will trigger an install time permission prompt |
| 43 and let the extension read from all auto-detected media galleries on the | 43 and let the extension read from all auto-detected media galleries on the |
| 44 user's computer. The user may add or remove galleries using the | 44 user's computer. The user may add or remove galleries using the |
| 45 media gallery management dialog, after which the extension will be able | 45 media gallery management dialog, after which the extension will be able |
| 46 to read all the media files from galleries that the user has selected.</p> | 46 to read all the media files from galleries that the user has selected.</p> |
| 47 | 47 |
| 48 <p>Currently "mediaGalleriesRead" is the only access type supported by | 48 <p>Currently "mediaGalleriesRead" is the only access type supported by |
| 49 this API. Read-write and add-file access with be implemented soon.</p> | 49 this API. Read-write and add-file access with be implemented soon.</p> |
| OLD | NEW |