PhotoManager
The following methods are supported:
Delete's the specified album
Parameters
| string | username |
| string | password |
| string | albumID |
Return Value
| boolean | True if it succeeds, false otherwise |
Parameters
| string | username |
| string | password |
| string | photoID |
Return Value
| boolean | Returns true if deleting the photo was successfull, otherwise it returns false if it failed. |
Edits an existing Photo, the PhotoObject needs to contain a valid photo ID
Parameters
Return Value
| boolean | Returns true if editing the photo was successfull, otherwise it returns false if it failed. |
Returns the list of PhotoInfo objects
Parameters
Return Value
| array of struct PhotoInfo | The list of PhotoInfo objects. Doesn't contain any of the images themselves, just the data. |
Returns a photo
Parameters
Return Value
| struct PhotoObject | The photo requested, null if the photo doesn't exist. |
Creates a new Photo, it will automatically be added to an album or the album will automatically be created
Parameters
Return Value
| struct PhotoInfo | PhotoInfo which contains the PhotoID and the AlbumID |
Members
| string | ID |
| string | AlbumID |
| string | AlbumName |
| string | Name |
| string | VirtualLocation |
| string | DateTaken |
| base64 | bits |
Members
| string | ID |
| string | AlbumID |
| string | AlbumName |
| string | Name |
| string | VirtualLocation |
| string | DateTaken |
| string | URL |