C# Class kasthack.vksharp.RequestApi.MethodGroup_audio

Datei anzeigen Open project: kasthack/kasthack.vksharp

Public Methods

Method Description
Add ( int ownerId, long audioId, int groupId = null, long albumId = null ) : Request

Копирует аудиозапись на страницу пользователя или группы

AddAlbum ( string title, int groupId ) : Request

Создает пустой альбом аудиозаписей

Delete ( long audioId, int ownerId ) : Request

Удаляет аудиозапись со страницы пользователя или сообщества

DeleteAlbum ( long albumId, int groupId = null ) : Request

Удаляет альбом аудиозаписей

Edit ( int ownerId, long audioId, string artist = "", string title = "", string text = "", AudioGenre genreId = null, bool noSearch = null ) : Request
EditAlbum ( long albumId, string title, int groupId = null ) : Request
Get ( int ownerId = null, long albumId = null, int offset = null, int count = 100 ) : Request>
GetAlbums ( int ownerId = null, int offset = null, int count = 100 ) : Request>
GetBroadcastListGroups ( bool active = true, int offset = null, int count = 100 ) : Request
GetBroadcastListUsers ( bool active = true, int offset = null, int count = 100 ) : Request
GetById ( bool itunes = false ) : Request
GetCount ( int ownerId = null ) : Request
GetLyrics ( long lyricsId ) : Request
GetPopular ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Request>
GetRecommendations ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Request>
GetUploadServer ( long albumId, int groupId = null ) : Request
MoveToAlbum ( long albumId, int groupId = null ) : Request
Reorder ( long audioId, int ownerId = null, long before = null, long after = null ) : Request
Restore ( long audioId, int ownerId = null ) : Request
Save ( string server, string audio, string hash, string artist = "", string title = "" ) : Request
Search ( string q, bool autoComplete = true, bool lyrics = false, bool performerOnly = false, AudioSortOrder sort = AudioSortOrder.ByRating, bool searchOwn = false, int offset = null, int count = 100 ) : Request>
SetBroadcast ( ContentId audio ) : Request

Private Methods

Method Description
MethodGroup_audio ( RequestApi parent ) : System

Method Details

Add() public method

Копирует аудиозапись на страницу пользователя или группы
public Add ( int ownerId, long audioId, int groupId = null, long albumId = null ) : Request
ownerId int идентификатор владельца аудиозаписи (пользователь или сообщество)
audioId long Идентификатор аудиозаписи
groupId int идентификатор сообщества (если аудиозапись необходимо скопировать в список сообщества)
albumId long идентификатор альбома, в который нужно переместить аудиозапись
return Request

AddAlbum() public method

Создает пустой альбом аудиозаписей
public AddAlbum ( string title, int groupId ) : Request
title string название альбома
groupId int идентификатор сообщества (если альбом нужно создать в сообществе)
return Request

Delete() public method

Удаляет аудиозапись со страницы пользователя или сообщества
public Delete ( long audioId, int ownerId ) : Request
audioId long идентификатор аудиозаписи
ownerId int идентификатор владельца аудиозаписи (пользователь или сообщество)
return Request

DeleteAlbum() public method

Удаляет альбом аудиозаписей
public DeleteAlbum ( long albumId, int groupId = null ) : Request
albumId long идентификатор альбома
groupId int идентификатор сообщества, которому принадлежит альбом
return Request

Edit() public method

public Edit ( int ownerId, long audioId, string artist = "", string title = "", string text = "", AudioGenre genreId = null, bool noSearch = null ) : Request
ownerId int
audioId long
artist string
title string
text string
genreId AudioGenre
noSearch bool
return Request

EditAlbum() public method

public EditAlbum ( long albumId, string title, int groupId = null ) : Request
albumId long
title string
groupId int
return Request

Get() public method

public Get ( int ownerId = null, long albumId = null, int offset = null, int count = 100 ) : Request>
ownerId int
albumId long
offset int
count int
return Request>

GetAlbums() public method

public GetAlbums ( int ownerId = null, int offset = null, int count = 100 ) : Request>
ownerId int
offset int
count int
return Request>

GetBroadcastListGroups() public method

public GetBroadcastListGroups ( bool active = true, int offset = null, int count = 100 ) : Request
active bool
offset int
count int
return Request

GetBroadcastListUsers() public method

public GetBroadcastListUsers ( bool active = true, int offset = null, int count = 100 ) : Request
active bool
offset int
count int
return Request

GetById() public method

public GetById ( bool itunes = false ) : Request
itunes bool
return Request

GetCount() public method

public GetCount ( int ownerId = null ) : Request
ownerId int
return Request

GetLyrics() public method

public GetLyrics ( long lyricsId ) : Request
lyricsId long
return Request

GetPopular() public method

public GetPopular ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Request>
genreId AudioGenre
onlyEng bool
offset int
count int
return Request>

GetRecommendations() public method

public GetRecommendations ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Request>
genreId AudioGenre
onlyEng bool
offset int
count int
return Request>

GetUploadServer() public method

public GetUploadServer ( long albumId, int groupId = null ) : Request
albumId long
groupId int
return Request

MoveToAlbum() public method

public MoveToAlbum ( long albumId, int groupId = null ) : Request
albumId long
groupId int
return Request

Reorder() public method

public Reorder ( long audioId, int ownerId = null, long before = null, long after = null ) : Request
audioId long
ownerId int
before long
after long
return Request

Restore() public method

public Restore ( long audioId, int ownerId = null ) : Request
audioId long
ownerId int
return Request

Save() public method

public Save ( string server, string audio, string hash, string artist = "", string title = "" ) : Request
server string
audio string
hash string
artist string
title string
return Request

Search() public method

public Search ( string q, bool autoComplete = true, bool lyrics = false, bool performerOnly = false, AudioSortOrder sort = AudioSortOrder.ByRating, bool searchOwn = false, int offset = null, int count = 100 ) : Request>
q string
autoComplete bool
lyrics bool
performerOnly bool
sort AudioSortOrder
searchOwn bool
offset int
count int
return Request>

SetBroadcast() public method

public SetBroadcast ( ContentId audio ) : Request
audio ContentId
return Request