Exemple #1
0
 /// <summary>
 /// Mutes the spotify audio session.
 /// </summary>
 /// <returns>A value indicating whether the operation was successful</returns>
 public static bool Mute(this IMutingSpotifyHook muter) => muter.SetMute(true);
Exemple #2
0
 /// <summary>
 /// Unmutes the spotify audio session.
 /// </summary>
 /// <returns>A value indicating whether the operation was successful</returns>
 public static bool Unmute(this IMutingSpotifyHook muter) => muter.SetMute(false);
 public MutingSpotifyAdBlocker(ISpotifyHook hook, IMutingSpotifyHook muter) : base(hook)
 {
     this.muter = muter;
 }