C# Class kasthack.vksharp.RequestApi.MethodGroup_audio

Afficher le fichier Open project: kasthack/kasthack.vksharp

Méthodes publiques

Méthode 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

Méthode Description
MethodGroup_audio ( RequestApi parent ) : System

Method Details

Add() public méthode

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

AddAlbum() public méthode

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

Delete() public méthode

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

DeleteAlbum() public méthode

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

Edit() public méthode

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
Résultat Request

EditAlbum() public méthode

public EditAlbum ( long albumId, string title, int groupId = null ) : Request
albumId long
title string
groupId int
Résultat Request

Get() public méthode

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

GetAlbums() public méthode

public GetAlbums ( int ownerId = null, int offset = null, int count = 100 ) : Request>
ownerId int
offset int
count int
Résultat Request>

GetBroadcastListGroups() public méthode

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

GetBroadcastListUsers() public méthode

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

GetById() public méthode

public GetById ( bool itunes = false ) : Request
itunes bool
Résultat Request

GetCount() public méthode

public GetCount ( int ownerId = null ) : Request
ownerId int
Résultat Request

GetLyrics() public méthode

public GetLyrics ( long lyricsId ) : Request
lyricsId long
Résultat Request

GetPopular() public méthode

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

GetRecommendations() public méthode

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

GetUploadServer() public méthode

public GetUploadServer ( long albumId, int groupId = null ) : Request
albumId long
groupId int
Résultat Request

MoveToAlbum() public méthode

public MoveToAlbum ( long albumId, int groupId = null ) : Request
albumId long
groupId int
Résultat Request

Reorder() public méthode

public Reorder ( long audioId, int ownerId = null, long before = null, long after = null ) : Request
audioId long
ownerId int
before long
after long
Résultat Request

Restore() public méthode

public Restore ( long audioId, int ownerId = null ) : Request
audioId long
ownerId int
Résultat Request

Save() public méthode

public Save ( string server, string audio, string hash, string artist = "", string title = "" ) : Request
server string
audio string
hash string
artist string
title string
Résultat Request

Search() public méthode

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
Résultat Request>

SetBroadcast() public méthode

public SetBroadcast ( ContentId audio ) : Request
audio ContentId
Résultat Request