/// <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);
/// <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; }