C# Класс Music.MusicClient

The Music Client Claas
Наследование: Mycroft.App.Client
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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