C# 클래스 kasthack.vksharp.RawApi.MethodGroup_Audio

파일 보기 프로젝트 열기: kasthack/kasthack.vksharp

공개 메소드들

메소드 설명
Add ( int ownerId, long audioId, int groupId = null, long albumId = null ) : Task

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

AddAlbum ( string title, int groupId ) : Task

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

Delete ( long audioId, int ownerId ) : Task

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

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

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

Edit ( int ownerId, long audioId, string artist = "", string title = "", string text = "", AudioGenre genreId = null, bool noSearch = null ) : Task
EditAlbum ( long albumId, string title, int groupId = null ) : Task
Get ( int ownerId = null, long albumId = null, int offset = null, int count = 100 ) : Task
GetAlbums ( int ownerId = null, int offset = null, int count = 100 ) : Task
GetBroadcastListGroups ( bool active = true, int offset = null, int count = 100 ) : Task
GetBroadcastListUsers ( bool active = true, int offset = null, int count = 100 ) : Task
GetById ( bool itunes = false ) : Task
GetCount ( int ownerId = null ) : Task
GetLyrics ( long lyricsId ) : Task
GetPopular ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Task
GetRecommendations ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Task
GetUploadServer ( long albumId, int groupId = null ) : Task
MoveToAlbum ( long albumId, int groupId = null ) : Task
Reorder ( long audioId, int ownerId = null, long before = null, long after = null ) : Task
Restore ( long audioId, int ownerId = null ) : Task
Save ( string server, string audio, string hash, string artist = "", string title = "" ) : Task
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 ) : Task
SetBroadcast ( ContentId audio ) : Task

비공개 메소드들

메소드 설명
MethodGroup_Audio ( RawApi parent ) : System

메소드 상세

Add() 공개 메소드

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

AddAlbum() 공개 메소드

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

Delete() 공개 메소드

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

DeleteAlbum() 공개 메소드

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

Edit() 공개 메소드

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

EditAlbum() 공개 메소드

public EditAlbum ( long albumId, string title, int groupId = null ) : Task
albumId long
title string
groupId int
리턴 Task

Get() 공개 메소드

public Get ( int ownerId = null, long albumId = null, int offset = null, int count = 100 ) : Task
ownerId int
albumId long
offset int
count int
리턴 Task

GetAlbums() 공개 메소드

public GetAlbums ( int ownerId = null, int offset = null, int count = 100 ) : Task
ownerId int
offset int
count int
리턴 Task

GetBroadcastListGroups() 공개 메소드

public GetBroadcastListGroups ( bool active = true, int offset = null, int count = 100 ) : Task
active bool
offset int
count int
리턴 Task

GetBroadcastListUsers() 공개 메소드

public GetBroadcastListUsers ( bool active = true, int offset = null, int count = 100 ) : Task
active bool
offset int
count int
리턴 Task

GetById() 공개 메소드

public GetById ( bool itunes = false ) : Task
itunes bool
리턴 Task

GetCount() 공개 메소드

public GetCount ( int ownerId = null ) : Task
ownerId int
리턴 Task

GetLyrics() 공개 메소드

public GetLyrics ( long lyricsId ) : Task
lyricsId long
리턴 Task

GetPopular() 공개 메소드

public GetPopular ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Task
genreId AudioGenre
onlyEng bool
offset int
count int
리턴 Task

GetRecommendations() 공개 메소드

public GetRecommendations ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Task
genreId AudioGenre
onlyEng bool
offset int
count int
리턴 Task

GetUploadServer() 공개 메소드

public GetUploadServer ( long albumId, int groupId = null ) : Task
albumId long
groupId int
리턴 Task

MoveToAlbum() 공개 메소드

public MoveToAlbum ( long albumId, int groupId = null ) : Task
albumId long
groupId int
리턴 Task

Reorder() 공개 메소드

public Reorder ( long audioId, int ownerId = null, long before = null, long after = null ) : Task
audioId long
ownerId int
before long
after long
리턴 Task

Restore() 공개 메소드

public Restore ( long audioId, int ownerId = null ) : Task
audioId long
ownerId int
리턴 Task

Save() 공개 메소드

public Save ( string server, string audio, string hash, string artist = "", string title = "" ) : Task
server string
audio string
hash string
artist string
title string
리턴 Task

Search() 공개 메소드

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 ) : Task
q string
autoComplete bool
lyrics bool
performerOnly bool
sort AudioSortOrder
searchOwn bool
offset int
count int
리턴 Task

SetBroadcast() 공개 메소드

public SetBroadcast ( ContentId audio ) : Task
audio ContentId
리턴 Task