Photos class

Методы для работы с фотографиями.

Constructors

Photos.new(Api _api)
Конструктор.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

confirmTag<T>(Map<String, Object> params) Future<ApiResponse<T>>
Confirms a tag on a photo.
copy<T>(Map<String, Object> params) Future<ApiResponse<T>>
Allows to copy a photo to the "Saved photos" album
createAlbum<T>(Map<String, Object> params) Future<ApiResponse<T>>
Creates an empty photo album.
createComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Adds a new comment on the photo.
delete<T>(Map<String, Object> params) Future<ApiResponse<T>>
Deletes a photo.
deleteAlbum<T>(Map<String, Object> params) Future<ApiResponse<T>>
Deletes a photo album belonging to the current user.
deleteComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Deletes a comment on the photo.
edit<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits the caption of a photo.
editAlbum<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits information about a photo album.
editComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Edits a comment on a photo.
get<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of a user's or community's photos.
getAlbums<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of a user's or community's photo albums.
getAlbumsCount<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the number of photo albums belonging to a user or community.
getAll<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of photos belonging to a user or community, in reverse chronological order.
getAllComments<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of comments on a specific photo album or all albums of the user sorted in reverse chronological order.
getById<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns information about photos by their IDs.
getChatUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns an upload link for chat cover pictures.
getComments<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of comments on a photo.
getMailUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
getMarketAlbumUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the server address for market album photo upload.
getMarketUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the server address for market photo upload.
getMessagesUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the server address for photo upload in a private message for a user.
getNewTags<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of photos with tags that have not been viewed.
getOwnerCoverPhotoUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the server address for owner cover upload.
getOwnerPhotoUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns an upload server address for a profile or community photo.
getProfile<T>(Map<String, Object> params) Future<ApiResponse<T>>
Возвращает список фотографий со страницы пользователя или сообщества.
getTags<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of tags on a photo.
getUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the server address for photo upload.
getUserPhotos<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns a list of photos in which a user is tagged.
getWallUploadServer<T>(Map<String, Object> params) Future<ApiResponse<T>>
Returns the server address for photo upload onto a user's wall.
makeCover<T>(Map<String, Object> params) Future<ApiResponse<T>>
Makes a photo into an album cover.
move<T>(Map<String, Object> params) Future<ApiResponse<T>>
Moves a photo from one album to another.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putTag<T>(Map<String, Object> params) Future<ApiResponse<T>>
Adds a tag on the photo.
removeTag<T>(Map<String, Object> params) Future<ApiResponse<T>>
Removes a tag from a photo.
reorderAlbums<T>(Map<String, Object> params) Future<ApiResponse<T>>
Reorders the album in the list of user albums.
reorderPhotos<T>(Map<String, Object> params) Future<ApiResponse<T>>
Reorders the photo in the list of photos of the user album.
report<T>(Map<String, Object> params) Future<ApiResponse<T>>
Reports (submits a complaint about) a photo.
reportComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Reports (submits a complaint about) a comment on a photo.
restore<T>(Map<String, Object> params) Future<ApiResponse<T>>
Restores a deleted photo.
restoreComment<T>(Map<String, Object> params) Future<ApiResponse<T>>
Restores a deleted comment on a photo.
save<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves photos after successful uploading.
saveMarketAlbumPhoto<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves market album photos after successful uploading.
saveMarketPhoto<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves market photos after successful uploading.
saveMessagesPhoto<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves a photo after being successfully uploaded. URL obtained with Photos.getMessagesUploadServer method.
saveOwnerCoverPhoto<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves cover photo after successful uploading.
saveOwnerPhoto<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves a profile or community photo. Upload URL can be got with the Photos.getOwnerPhotoUploadServer method.
saveWallPhoto<T>(Map<String, Object> params) Future<ApiResponse<T>>
Saves a photo to a user's or community's wall after being uploaded.
Returns a list of photos.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited