Table of Contents

Delegate OnSpectateEvent

Namespace
DiscordRPC.Events
Assembly
DiscordRPC.dll

Called when the Discord Client wishes for this process to spectate a game.

[Obsolete("Spectating is no longer supported by Discord.")]
public delegate void OnSpectateEvent(object sender, SpectateMessage args)

Parameters

sender object

The Discord client handler that sent this event

args SpectateMessage

The arguments supplied with the event