C# 클래스 Torshify.Core.Native.NativeSession

상속: System.NativeObject, ISession
파일 보기 프로젝트 열기: torshy/torshify 1 사용 예제들

공개 메소드들

메소드 설명
Browse ( IAlbum album, object userData = null ) : IAlbumBrowse
Browse ( IArtist artist, ArtistBrowseType browseType, object userData = null ) : IArtistBrowse
Browse ( IArtist artist, object userData = null ) : IArtistBrowse
Browse ( ToplistType type, int encodedCountryCode, object userData = null ) : IToplistBrowse
Browse ( ToplistType type, object userData = null ) : IToplistBrowse
Browse ( ToplistType type, string userName, object userData = null ) : IToplistBrowse
BrowseCurrentUser ( ToplistType type, object userData = null ) : IToplistBrowse
FlushCaches ( ) : Error
ForgetStoredLogin ( ) : void
GetImage ( string id ) : IImage
GetNumberOfOfflinePlaylists ( ) : int
GetNumberOfOfflineTracksRemainingToSync ( ) : int
GetOfflineSyncStatus ( ) : OfflineSyncStatus
GetPlaylistContainerForUser ( string canonicalUsername ) : IPlaylistContainer
GetRememberedUser ( ) : string
GetStarredForUser ( string canonicalUserName ) : IPlaylist
Initialize ( ) : void
Login ( string userName, string password, bool rememberMe = false ) : void
LoginWithBlob ( string userName, string blob ) : void
Logout ( ) : void
NativeSession ( byte applicationKey, SessionOptions options ) : System
PlayerLoad ( ITrack track ) : Error
PlayerPause ( ) : Error
PlayerPlay ( ) : Error
PlayerPrefetch ( ITrack track ) : Error
PlayerSeek ( System.TimeSpan offset ) : Error
PlayerUnload ( ) : Error
Relogin ( ) : void
Search ( string query, int trackOffset, int trackCount, int albumOffset, int albumCount, int artistOffset, int artistCount, int playlistOffset, int playlistCount, SearchType searchType, object userData = null ) : ISearch
SetCacheSize ( uint megabytes ) : ISession
SetConnectionRules ( ConnectionRule connectionRule ) : ISession
SetConnectionType ( ConnectionType connectionType ) : ISession
SetPreferredBitrate ( Bitrate bitrate ) : ISession
SetPreferredOfflineBitrate ( Bitrate bitrate, bool resync ) : ISession

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
EventThreadLoop ( ) : void
MainThreadLoop ( ) : void
OnConnectionError ( SessionEventArgs e ) : void
OnConnectionStateUpdated ( SessionEventArgs e ) : void
OnCredentialsBlobUpdated ( CredentialsBlobEventArgs e ) : void
OnEndOfTrack ( SessionEventArgs e ) : void
OnException ( SessionEventArgs e ) : void
OnHostProcessExit ( object sender, EventArgs e ) : void
OnLogMessage ( SessionEventArgs e ) : void
OnLoginComplete ( SessionEventArgs e ) : void
OnLogoutComplete ( SessionEventArgs e ) : void
OnMessageToUser ( SessionEventArgs e ) : void
OnMetadataUpdated ( SessionEventArgs e ) : void
OnMusicDeliver ( MusicDeliveryEventArgs e ) : void
OnNotifyMainThread ( ) : void
OnOfflineError ( SessionEventArgs e ) : void
OnOfflineStatusUpdated ( SessionEventArgs e ) : void
OnPlayTokenLost ( SessionEventArgs e ) : void
OnPrivateSessionModeChanged ( PrivateSessionModeChangedEventArgs e ) : void
OnScrobbleError ( SessionEventArgs e ) : void
OnStartPlayback ( SessionEventArgs e ) : void
OnStopPlayback ( SessionEventArgs e ) : void
OnStreamingError ( SessionEventArgs e ) : void
OnUserinfoUpdated ( SessionEventArgs e ) : void
Queue ( DelegateInvoker delegateInvoker ) : void

메소드 상세

Browse() 공개 메소드

public Browse ( IAlbum album, object userData = null ) : IAlbumBrowse
album IAlbum
userData object
리턴 IAlbumBrowse

Browse() 공개 메소드

public Browse ( IArtist artist, ArtistBrowseType browseType, object userData = null ) : IArtistBrowse
artist IArtist
browseType ArtistBrowseType
userData object
리턴 IArtistBrowse

Browse() 공개 메소드

public Browse ( IArtist artist, object userData = null ) : IArtistBrowse
artist IArtist
userData object
리턴 IArtistBrowse

Browse() 공개 메소드

public Browse ( ToplistType type, int encodedCountryCode, object userData = null ) : IToplistBrowse
type ToplistType
encodedCountryCode int
userData object
리턴 IToplistBrowse

Browse() 공개 메소드

public Browse ( ToplistType type, object userData = null ) : IToplistBrowse
type ToplistType
userData object
리턴 IToplistBrowse

Browse() 공개 메소드

public Browse ( ToplistType type, string userName, object userData = null ) : IToplistBrowse
type ToplistType
userName string
userData object
리턴 IToplistBrowse

BrowseCurrentUser() 공개 메소드

public BrowseCurrentUser ( ToplistType type, object userData = null ) : IToplistBrowse
type ToplistType
userData object
리턴 IToplistBrowse

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FlushCaches() 공개 메소드

public FlushCaches ( ) : Error
리턴 Error

ForgetStoredLogin() 공개 메소드

public ForgetStoredLogin ( ) : void
리턴 void

GetImage() 공개 메소드

public GetImage ( string id ) : IImage
id string
리턴 IImage

GetNumberOfOfflinePlaylists() 공개 메소드

public GetNumberOfOfflinePlaylists ( ) : int
리턴 int

GetNumberOfOfflineTracksRemainingToSync() 공개 메소드

public GetNumberOfOfflineTracksRemainingToSync ( ) : int
리턴 int

GetOfflineSyncStatus() 공개 메소드

public GetOfflineSyncStatus ( ) : OfflineSyncStatus
리턴 OfflineSyncStatus

GetPlaylistContainerForUser() 공개 메소드

public GetPlaylistContainerForUser ( string canonicalUsername ) : IPlaylistContainer
canonicalUsername string
리턴 IPlaylistContainer

GetRememberedUser() 공개 메소드

public GetRememberedUser ( ) : string
리턴 string

GetStarredForUser() 공개 메소드

public GetStarredForUser ( string canonicalUserName ) : IPlaylist
canonicalUserName string
리턴 IPlaylist

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Login() 공개 메소드

public Login ( string userName, string password, bool rememberMe = false ) : void
userName string
password string
rememberMe bool
리턴 void

LoginWithBlob() 공개 메소드

public LoginWithBlob ( string userName, string blob ) : void
userName string
blob string
리턴 void

Logout() 공개 메소드

public Logout ( ) : void
리턴 void

NativeSession() 공개 메소드

public NativeSession ( byte applicationKey, SessionOptions options ) : System
applicationKey byte
options SessionOptions
리턴 System

PlayerLoad() 공개 메소드

public PlayerLoad ( ITrack track ) : Error
track ITrack
리턴 Error

PlayerPause() 공개 메소드

public PlayerPause ( ) : Error
리턴 Error

PlayerPlay() 공개 메소드

public PlayerPlay ( ) : Error
리턴 Error

PlayerPrefetch() 공개 메소드

public PlayerPrefetch ( ITrack track ) : Error
track ITrack
리턴 Error

PlayerSeek() 공개 메소드

public PlayerSeek ( System.TimeSpan offset ) : Error
offset System.TimeSpan
리턴 Error

PlayerUnload() 공개 메소드

public PlayerUnload ( ) : Error
리턴 Error

Relogin() 공개 메소드

public Relogin ( ) : void
리턴 void

Search() 공개 메소드

public Search ( string query, int trackOffset, int trackCount, int albumOffset, int albumCount, int artistOffset, int artistCount, int playlistOffset, int playlistCount, SearchType searchType, object userData = null ) : ISearch
query string
trackOffset int
trackCount int
albumOffset int
albumCount int
artistOffset int
artistCount int
playlistOffset int
playlistCount int
searchType SearchType
userData object
리턴 ISearch

SetCacheSize() 공개 메소드

public SetCacheSize ( uint megabytes ) : ISession
megabytes uint
리턴 ISession

SetConnectionRules() 공개 메소드

public SetConnectionRules ( ConnectionRule connectionRule ) : ISession
connectionRule ConnectionRule
리턴 ISession

SetConnectionType() 공개 메소드

public SetConnectionType ( ConnectionType connectionType ) : ISession
connectionType ConnectionType
리턴 ISession

SetPreferredBitrate() 공개 메소드

public SetPreferredBitrate ( Bitrate bitrate ) : ISession
bitrate Bitrate
리턴 ISession

SetPreferredOfflineBitrate() 공개 메소드

public SetPreferredOfflineBitrate ( Bitrate bitrate, bool resync ) : ISession
bitrate Bitrate
resync bool
리턴 ISession