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

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

공개 메소드들

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

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

AddAlbum ( string title, int groupId ) : Task

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

AddAlbumSync ( string title, int groupId ) : AddAlbum

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

AddSync ( int ownerId, long audioId, int groupId = null, long albumId = null ) : int

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

Delete ( long audioId, int ownerId ) : System.Threading.Tasks.Task

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

DeleteAlbum ( long albumId, int groupId = null ) : System.Threading.Tasks.Task

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

DeleteAlbumSync ( long albumId, int groupId = null ) : void

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

DeleteSync ( long audioId, int ownerId ) : void

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

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 ) : System.Threading.Tasks.Task
EditAlbumSync ( long albumId, string title, int groupId = null ) : void
EditSync ( int ownerId, long audioId, string artist = "", string title = "", string text = "", AudioGenre genreId = null, bool noSearch = null ) : int
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>
GetAlbumsSync ( int ownerId = null, int offset = null, int count = 100 ) : EntityList
GetBroadcastListGroups ( bool active = true, int offset = null, int count = 100 ) : Task
GetBroadcastListGroupsSync ( bool active = true, int offset = null, int count = 100 ) : kasthack.vksharp.DataTypes.Entities.Group[]
GetBroadcastListUsers ( bool active = true, int offset = null, int count = 100 ) : Task
GetBroadcastListUsersSync ( bool active = true, int offset = null, int count = 100 ) : User[]
GetById ( bool itunes = false ) : Task
GetByIdSync ( bool itunes = false ) : kasthack.vksharp.DataTypes.Entities.Audio[]
GetCount ( int ownerId = null ) : Task
GetCountSync ( int ownerId = null ) : int
GetLyrics ( long lyricsId ) : Task
GetLyricsSync ( long lyricsId ) : Lyrics
GetPopular ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Task>
GetPopularSync ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : EntityList
GetRecommendations ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : Task>
GetRecommendationsSync ( AudioGenre genreId = null, bool onlyEng = null, int offset = null, int count = 100 ) : EntityList
GetSync ( int ownerId = null, long albumId = null, int offset = null, int count = 100 ) : EntityList
GetUploadServer ( long albumId, int groupId = null ) : Task
GetUploadServerSync ( long albumId, int groupId = null ) : string
MoveToAlbum ( long albumId, int groupId = null ) : System.Threading.Tasks.Task
MoveToAlbumSync ( long albumId, int groupId = null ) : void
Reorder ( long audioId, int ownerId = null, long before = null, long after = null ) : System.Threading.Tasks.Task
ReorderSync ( long audioId, int ownerId = null, long before = null, long after = null ) : void
Restore ( long audioId, int ownerId = null ) : Task
RestoreSync ( long audioId, int ownerId = null ) : Audio
Save ( string server, string audio, string hash, string artist = "", string title = "" ) : Task
SaveSync ( string server, string audio, string hash, string artist = "", string title = "" ) : kasthack.vksharp.DataTypes.Entities.Audio[]
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>
SearchSync ( string q, bool autoComplete = true, bool lyrics = false, bool performerOnly = false, AudioSortOrder sort = AudioSortOrder.ByRating, bool searchOwn = false, int offset = null, int count = 100 ) : EntityList
SetBroadcast ( ContentId audio ) : System.Threading.Tasks.Task
SetBroadcastSync ( ContentId audio ) : void

비공개 메소드들

메소드 설명
MethodGroup_Audio ( Api 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

AddAlbumSync() 공개 메소드

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

AddSync() 공개 메소드

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

Delete() 공개 메소드

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

DeleteAlbum() 공개 메소드

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

DeleteAlbumSync() 공개 메소드

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

DeleteSync() 공개 메소드

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

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 ) : System.Threading.Tasks.Task
albumId long
title string
groupId int
리턴 System.Threading.Tasks.Task

EditAlbumSync() 공개 메소드

public EditAlbumSync ( long albumId, string title, int groupId = null ) : void
albumId long
title string
groupId int
리턴 void

EditSync() 공개 메소드

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

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>

GetAlbumsSync() 공개 메소드

public GetAlbumsSync ( int ownerId = null, int offset = null, int count = 100 ) : EntityList
ownerId int
offset int
count int
리턴 EntityList

GetBroadcastListGroups() 공개 메소드

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

GetBroadcastListGroupsSync() 공개 메소드

public GetBroadcastListGroupsSync ( bool active = true, int offset = null, int count = 100 ) : kasthack.vksharp.DataTypes.Entities.Group[]
active bool
offset int
count int
리턴 kasthack.vksharp.DataTypes.Entities.Group[]

GetBroadcastListUsers() 공개 메소드

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

GetBroadcastListUsersSync() 공개 메소드

public GetBroadcastListUsersSync ( bool active = true, int offset = null, int count = 100 ) : User[]
active bool
offset int
count int
리턴 User[]

GetById() 공개 메소드

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

GetByIdSync() 공개 메소드

public GetByIdSync ( bool itunes = false ) : kasthack.vksharp.DataTypes.Entities.Audio[]
itunes bool
리턴 kasthack.vksharp.DataTypes.Entities.Audio[]

GetCount() 공개 메소드

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

GetCountSync() 공개 메소드

public GetCountSync ( int ownerId = null ) : int
ownerId int
리턴 int

GetLyrics() 공개 메소드

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

GetLyricsSync() 공개 메소드

public GetLyricsSync ( long lyricsId ) : Lyrics
lyricsId long
리턴 kasthack.vksharp.DataTypes.Entities.Lyrics

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>

GetPopularSync() 공개 메소드

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

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>

GetRecommendationsSync() 공개 메소드

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

GetSync() 공개 메소드

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

GetUploadServer() 공개 메소드

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

GetUploadServerSync() 공개 메소드

public GetUploadServerSync ( long albumId, int groupId = null ) : string
albumId long
groupId int
리턴 string

MoveToAlbum() 공개 메소드

public MoveToAlbum ( long albumId, int groupId = null ) : System.Threading.Tasks.Task
albumId long
groupId int
리턴 System.Threading.Tasks.Task

MoveToAlbumSync() 공개 메소드

public MoveToAlbumSync ( long albumId, int groupId = null ) : void
albumId long
groupId int
리턴 void

Reorder() 공개 메소드

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

ReorderSync() 공개 메소드

public ReorderSync ( long audioId, int ownerId = null, long before = null, long after = null ) : void
audioId long
ownerId int
before long
after long
리턴 void

Restore() 공개 메소드

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

RestoreSync() 공개 메소드

public RestoreSync ( long audioId, int ownerId = null ) : Audio
audioId long
ownerId int
리턴 kasthack.vksharp.DataTypes.Entities.Audio

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

SaveSync() 공개 메소드

public SaveSync ( string server, string audio, string hash, string artist = "", string title = "" ) : kasthack.vksharp.DataTypes.Entities.Audio[]
server string
audio string
hash string
artist string
title string
리턴 kasthack.vksharp.DataTypes.Entities.Audio[]

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>

SearchSync() 공개 메소드

public SearchSync ( string q, bool autoComplete = true, bool lyrics = false, bool performerOnly = false, AudioSortOrder sort = AudioSortOrder.ByRating, bool searchOwn = false, int offset = null, int count = 100 ) : EntityList
q string
autoComplete bool
lyrics bool
performerOnly bool
sort AudioSortOrder
searchOwn bool
offset int
count int
리턴 EntityList

SetBroadcast() 공개 메소드

public SetBroadcast ( ContentId audio ) : System.Threading.Tasks.Task
audio ContentId
리턴 System.Threading.Tasks.Task

SetBroadcastSync() 공개 메소드

public SetBroadcastSync ( ContentId audio ) : void
audio ContentId
리턴 void