PhotoManager



The following methods are supported:

method DeleteAlbum

Delete's the specified album

Parameters

stringusername
stringpassword
stringalbumID

Return Value

booleanTrue if it succeeds, false otherwise

method DeletePhoto

Parameters

stringusername
stringpassword
stringphotoID

Return Value

booleanReturns true if deleting the photo was successfull, otherwise it returns false if it failed.

method EditPhoto

Edits an existing Photo, the PhotoObject needs to contain a valid photo ID

Parameters

stringusername
stringpassword
struct PhotoObjectphoto

Return Value

booleanReturns true if editing the photo was successfull, otherwise it returns false if it failed.

method GetAllPhotos

Returns the list of PhotoInfo objects

Parameters

none 

Return Value

array of struct PhotoInfoThe list of PhotoInfo objects. Doesn't contain any of the images themselves, just the data.

method GetPhoto

Returns a photo

Parameters

stringphotoID
integersize

Return Value

struct PhotoObjectThe photo requested, null if the photo doesn't exist.

method NewPhoto

Creates a new Photo, it will automatically be added to an album or the album will automatically be created

Parameters

stringusername
stringpassword
struct PhotoObjectphoto

Return Value

struct PhotoInfoPhotoInfo which contains the PhotoID and the AlbumID

struct PhotoObject

Members

stringID
stringAlbumID
stringAlbumName
stringName
stringVirtualLocation
stringDateTaken
base64bits

struct PhotoInfo

Members

stringID
stringAlbumID
stringAlbumName
stringName
stringVirtualLocation
stringDateTaken
stringURL

 

mPhoto.Core 1.0.0   CookComputing.XmlRpcV2 0.0.0   .NET CLR 2.0.50727