Method | Description | |
---|---|---|
DataCreate ( byte imageData, string filename, string albumId = null ) : Task |
Uploads an image into an album.
|
|
DataDelete ( int imageIds ) : Task
|
Deletes given images.
|
|
GetImage ( int imageId, bool withDescription = true ) : Task |
Get image informations for given image id.
|
|
GetImageByPosition ( int position, int albumId, bool withDescription = true ) : Task |
Get image informations for given image specified by its position in an album.
|
|
SetDescription ( int imageId, string description ) : Task |
Sets the description for the given image.
|
|
SetRotation ( int imageId, ImageRotation degrees ) : Task |
Sets the rotation for the given image.
|
|
SetTitle ( int imageId, string title ) : Task |
Sets the title for the given image.
|
Method | Description | |
---|---|---|
Image ( IRestClient client ) : System.Threading.Tasks |
public DataCreate ( byte imageData, string filename, string albumId = null ) : Task |
||
imageData | byte | Image data as a byte array. |
filename | string | The filename of the image. |
albumId | string | The album to upload the image into. |
return | Task |
public DataDelete ( int imageIds ) : Task
|
||
imageIds | int | The ids for the images to delete. |
return | Task
|
public GetImage ( int imageId, bool withDescription = true ) : Task |
||
imageId | int | The id of the image. |
withDescription | bool | Include description. |
return | Task |
public GetImageByPosition ( int position, int albumId, bool withDescription = true ) : Task |
||
position | int | The position of the image. |
albumId | int | The album where the image lives. Must be a number. |
withDescription | bool | Include description. |
return | Task |
public SetDescription ( int imageId, string description ) : Task |
||
imageId | int | The id of the image. |
description | string | The new description for the image. |
return | Task |
public SetRotation ( int imageId, ImageRotation degrees ) : Task |
||
imageId | int | The id of the image. |
degrees | ImageRotation | The new rotation for the image. Can only be 0, 90, 180 or 270. |
return | Task |
public SetTitle ( int imageId, string title ) : Task |
||
imageId | int | The id of the image. |
title | string | The new title for the image. |
return | Task |