C# Class TRock.Music.Torshify.Server.Hubs.TorshifyHub

Inheritance: SignalR.Hubs.Hub
Afficher le fichier Open project: torshy/TRock.Music

Méthodes publiques

Méthode Description
GetCurrentSong ( ) : Song
GetIsPlaying ( ) : bool
GetMuted ( ) : bool
GetVolume ( ) : float
Pause ( ) : void
Play ( ) : void
SetIsPlaying ( bool isPlaying ) : void
SetMuted ( bool isMuted ) : void
SetVolume ( float volume ) : void
Start ( Song song ) : void
Stop ( ) : void
TorshifyHub ( ) : SignalR

Method Details

GetCurrentSong() public méthode

public GetCurrentSong ( ) : Song
Résultat Song

GetIsPlaying() public méthode

public GetIsPlaying ( ) : bool
Résultat bool

GetMuted() public méthode

public GetMuted ( ) : bool
Résultat bool

GetVolume() public méthode

public GetVolume ( ) : float
Résultat float

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

SetIsPlaying() public méthode

public SetIsPlaying ( bool isPlaying ) : void
isPlaying bool
Résultat void

SetMuted() public méthode

public SetMuted ( bool isMuted ) : void
isMuted bool
Résultat void

SetVolume() public méthode

public SetVolume ( float volume ) : void
volume float
Résultat void

Start() public méthode

public Start ( Song song ) : void
song Song
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

TorshifyHub() public méthode

public TorshifyHub ( ) : SignalR
Résultat SignalR