C# 클래스 Music.MusicClient

The Music Client Claas
상속: Mycroft.App.Client
파일 보기 프로젝트 열기: rit-sse-mycroft/app-music 1 사용 예제들

공개 메소드들

메소드 설명
MusicClient ( Session session, string manifest ) : Mycroft.App

Constructor for a music client

보호된 메소드들

메소드 설명
AppDependency ( dynamic message ) : void

Called when APP_DEPENDENCY is received

AppManifestOk ( dynamic message ) : void

Called when APP_MANIFEST_OK is received

MsgBroadcast ( dynamic message ) : void

Called when MSG_BROADCAST is received

비공개 메소드들

메소드 설명
HandleAlbums ( string query, dynamic tags ) : void

Helper for handling album commands

HandleCommands ( dynamic tags ) : void

Helper for handling music player commands

HandleSongs ( string query, dynamic tags ) : void

Helper for handling song commands

NextSong ( ) : void

Plays the next song in the play queue

session_EndOfTrack ( Session sender, SessionEventArgs e ) : void

Called when a track is finished.

session_MusicDelivered ( Session sender, MusicDeliveryEventArgs e ) : void

Called when music is delievered

메소드 상세

AppDependency() 보호된 메소드

Called when APP_DEPENDENCY is received
protected AppDependency ( dynamic message ) : void
message dynamic the message received
리턴 void

AppManifestOk() 보호된 메소드

Called when APP_MANIFEST_OK is received
protected AppManifestOk ( dynamic message ) : void
message dynamic the message received
리턴 void

MsgBroadcast() 보호된 메소드

Called when MSG_BROADCAST is received
protected MsgBroadcast ( dynamic message ) : void
message dynamic The message received
리턴 void

MusicClient() 공개 메소드

Constructor for a music client
public MusicClient ( Session session, string manifest ) : Mycroft.App
session Session The spotify session
manifest string The path to app manifest
리턴 Mycroft.App