Метод | Описание | |
---|---|---|
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
|
protected AppDependency ( dynamic message ) : void | ||
message | dynamic | the message received |
Результат | void |
protected AppManifestOk ( dynamic message ) : void | ||
message | dynamic | the message received |
Результат | void |
protected MsgBroadcast ( dynamic message ) : void | ||
message | dynamic | The message received |
Результат | void |
public MusicClient ( Session session, string manifest ) : Mycroft.App | ||
session | Session | The spotify session |
manifest | string | The path to app manifest |
Результат | Mycroft.App |