Table of Contents

Class PauseChangedEventArgs

Namespace
Nyra.EventArgs
Assembly
Nyra.dll

Raised on both pausing and resuming, IsPaused tells them apart.

public sealed class PauseChangedEventArgs : EventArgs
Inheritance
PauseChangedEventArgs
Inherited Members

Remarks

NodeLink only.

Properties

GuildId

The guild the player plays in.

[JsonPropertyName("guildId")]
[JsonInclude]
[JsonConverter(typeof(TolerantSnowflakeConverter))]
public ulong GuildId { get; }

Property Value

ulong

IsPaused

Whether playback is paused now.

[JsonPropertyName("paused")]
[JsonInclude]
[JsonRequired]
public bool IsPaused { get; }

Property Value

bool

Remarks

A frame without the member is rejected, not read as a resume.