C# Class OpenTidl.Methods.OpenTidlSession

Mostra file Open project: jackfagner/OpenTidl

Public Methods

Method Description
AddFavoriteAlbum ( Int32 albumId, Int32 timeout ) : EmptyModel
AddFavoriteArtist ( Int32 artistId, Int32 timeout ) : EmptyModel
AddFavoritePlaylist ( String playlistUuid, Int32 timeout ) : EmptyModel
AddFavoriteTrack ( Int32 trackId, Int32 timeout ) : EmptyModel
AddPlaylistTracks ( String playlistUuid, String playlistETag, IEnumerable trackIds, Int32 toIndex, Int32 timeout ) : EmptyModel
CreateUserPlaylist ( String title, Int32 timeout ) : PlaylistModel
DeletePlaylist ( String playlistUuid, String playlistETag, Int32 timeout ) : EmptyModel
DeletePlaylistTracks ( String playlistUuid, String playlistETag, IEnumerable indices, Int32 timeout ) : EmptyModel
GetClient ( Int32 timeout ) : ClientModel
GetFavoriteAlbums ( Int32 limit, Int32 timeout ) : JsonList>
GetFavoriteArtists ( Int32 limit, Int32 timeout ) : JsonList>
GetFavoritePlaylists ( Int32 limit, Int32 timeout ) : JsonList>
GetFavoriteTracks ( Int32 limit, Int32 timeout ) : JsonList>
GetPlaylist ( String playlistUuid, Int32 timeout ) : PlaylistModel
GetPlaylistTracks ( String playlistUuid, Int32 offset, Int32 limit, Int32 timeout ) : JsonList
GetSession ( Int32 timeout ) : SessionModel
GetTrackOfflineUrl ( Int32 trackId, SoundQuality soundQuality, Int32 timeout ) : StreamUrlModel
GetTrackStreamUrl ( Int32 trackId, SoundQuality soundQuality, String playlistUuid, Int32 timeout ) : StreamUrlModel
GetUser ( Int32 timeout ) : UserModel
GetUserClients ( ClientFilter filter, Int32 limit, Int32 timeout ) : JsonList
GetUserPlaylists ( Int32 limit, Int32 timeout ) : JsonList
GetUserSubscription ( Int32 timeout ) : UserSubscriptionModel
GetVideo ( Int32 videoId, Int32 timeout ) : VideoModel
GetVideoStreamUrl ( Int32 videoId, VideoQuality videoQuality, Int32 timeout ) : VideoStreamUrlModel
Logout ( Int32 timeout ) : EmptyModel
MovePlaylistTracks ( String playlistUuid, String playlistETag, IEnumerable indices, Int32 toIndex, Int32 timeout ) : EmptyModel
RemoveFavoriteAlbum ( Int32 albumId, Int32 timeout ) : EmptyModel
RemoveFavoriteArtist ( Int32 artistId, Int32 timeout ) : EmptyModel
RemoveFavoritePlaylist ( String playlistUuid, Int32 timeout ) : EmptyModel
RemoveFavoriteTrack ( Int32 trackId, Int32 timeout ) : EmptyModel
UpdatePlaylist ( String playlistUuid, String playlistETag, String title, Int32 timeout ) : EmptyModel

Method Details

AddFavoriteAlbum() public method

public AddFavoriteAlbum ( Int32 albumId, Int32 timeout ) : EmptyModel
albumId System.Int32
timeout System.Int32
return EmptyModel

AddFavoriteArtist() public method

public AddFavoriteArtist ( Int32 artistId, Int32 timeout ) : EmptyModel
artistId System.Int32
timeout System.Int32
return EmptyModel

AddFavoritePlaylist() public method

public AddFavoritePlaylist ( String playlistUuid, Int32 timeout ) : EmptyModel
playlistUuid String
timeout System.Int32
return EmptyModel

AddFavoriteTrack() public method

public AddFavoriteTrack ( Int32 trackId, Int32 timeout ) : EmptyModel
trackId System.Int32
timeout System.Int32
return EmptyModel

AddPlaylistTracks() public method

public AddPlaylistTracks ( String playlistUuid, String playlistETag, IEnumerable trackIds, Int32 toIndex, Int32 timeout ) : EmptyModel
playlistUuid String
playlistETag String
trackIds IEnumerable
toIndex System.Int32
timeout System.Int32
return EmptyModel

CreateUserPlaylist() public method

public CreateUserPlaylist ( String title, Int32 timeout ) : PlaylistModel
title String
timeout System.Int32
return OpenTidl.Models.PlaylistModel

DeletePlaylist() public method

public DeletePlaylist ( String playlistUuid, String playlistETag, Int32 timeout ) : EmptyModel
playlistUuid String
playlistETag String
timeout System.Int32
return EmptyModel

DeletePlaylistTracks() public method

public DeletePlaylistTracks ( String playlistUuid, String playlistETag, IEnumerable indices, Int32 timeout ) : EmptyModel
playlistUuid String
playlistETag String
indices IEnumerable
timeout System.Int32
return EmptyModel

GetClient() public method

public GetClient ( Int32 timeout ) : ClientModel
timeout System.Int32
return OpenTidl.Models.ClientModel

GetFavoriteAlbums() public method

public GetFavoriteAlbums ( Int32 limit, Int32 timeout ) : JsonList>
limit System.Int32
timeout System.Int32
return JsonList>

GetFavoriteArtists() public method

public GetFavoriteArtists ( Int32 limit, Int32 timeout ) : JsonList>
limit System.Int32
timeout System.Int32
return JsonList>

GetFavoritePlaylists() public method

public GetFavoritePlaylists ( Int32 limit, Int32 timeout ) : JsonList>
limit System.Int32
timeout System.Int32
return JsonList>

GetFavoriteTracks() public method

public GetFavoriteTracks ( Int32 limit, Int32 timeout ) : JsonList>
limit System.Int32
timeout System.Int32
return JsonList>

GetPlaylist() public method

public GetPlaylist ( String playlistUuid, Int32 timeout ) : PlaylistModel
playlistUuid String
timeout System.Int32
return OpenTidl.Models.PlaylistModel

GetPlaylistTracks() public method

public GetPlaylistTracks ( String playlistUuid, Int32 offset, Int32 limit, Int32 timeout ) : JsonList
playlistUuid String
offset System.Int32
limit System.Int32
timeout System.Int32
return JsonList

GetSession() public method

public GetSession ( Int32 timeout ) : SessionModel
timeout System.Int32
return OpenTidl.Models.SessionModel

GetTrackOfflineUrl() public method

public GetTrackOfflineUrl ( Int32 trackId, SoundQuality soundQuality, Int32 timeout ) : StreamUrlModel
trackId System.Int32
soundQuality SoundQuality
timeout System.Int32
return OpenTidl.Models.StreamUrlModel

GetTrackStreamUrl() public method

public GetTrackStreamUrl ( Int32 trackId, SoundQuality soundQuality, String playlistUuid, Int32 timeout ) : StreamUrlModel
trackId System.Int32
soundQuality SoundQuality
playlistUuid String
timeout System.Int32
return OpenTidl.Models.StreamUrlModel

GetUser() public method

public GetUser ( Int32 timeout ) : UserModel
timeout System.Int32
return OpenTidl.Models.UserModel

GetUserClients() public method

public GetUserClients ( ClientFilter filter, Int32 limit, Int32 timeout ) : JsonList
filter ClientFilter
limit System.Int32
timeout System.Int32
return JsonList

GetUserPlaylists() public method

public GetUserPlaylists ( Int32 limit, Int32 timeout ) : JsonList
limit System.Int32
timeout System.Int32
return JsonList

GetUserSubscription() public method

public GetUserSubscription ( Int32 timeout ) : UserSubscriptionModel
timeout System.Int32
return OpenTidl.Models.UserSubscriptionModel

GetVideo() public method

public GetVideo ( Int32 videoId, Int32 timeout ) : VideoModel
videoId System.Int32
timeout System.Int32
return OpenTidl.Models.VideoModel

GetVideoStreamUrl() public method

public GetVideoStreamUrl ( Int32 videoId, VideoQuality videoQuality, Int32 timeout ) : VideoStreamUrlModel
videoId System.Int32
videoQuality VideoQuality
timeout System.Int32
return OpenTidl.Models.VideoStreamUrlModel

Logout() public method

public Logout ( Int32 timeout ) : EmptyModel
timeout System.Int32
return EmptyModel

MovePlaylistTracks() public method

public MovePlaylistTracks ( String playlistUuid, String playlistETag, IEnumerable indices, Int32 toIndex, Int32 timeout ) : EmptyModel
playlistUuid String
playlistETag String
indices IEnumerable
toIndex System.Int32
timeout System.Int32
return EmptyModel

RemoveFavoriteAlbum() public method

public RemoveFavoriteAlbum ( Int32 albumId, Int32 timeout ) : EmptyModel
albumId System.Int32
timeout System.Int32
return EmptyModel

RemoveFavoriteArtist() public method

public RemoveFavoriteArtist ( Int32 artistId, Int32 timeout ) : EmptyModel
artistId System.Int32
timeout System.Int32
return EmptyModel

RemoveFavoritePlaylist() public method

public RemoveFavoritePlaylist ( String playlistUuid, Int32 timeout ) : EmptyModel
playlistUuid String
timeout System.Int32
return EmptyModel

RemoveFavoriteTrack() public method

public RemoveFavoriteTrack ( Int32 trackId, Int32 timeout ) : EmptyModel
trackId System.Int32
timeout System.Int32
return EmptyModel

UpdatePlaylist() public method

public UpdatePlaylist ( String playlistUuid, String playlistETag, String title, Int32 timeout ) : EmptyModel
playlistUuid String
playlistETag String
title String
timeout System.Int32
return EmptyModel