Table of Contents

Interface IVoiceClientCache

Namespace
NetCord.Gateway.Voice
Assembly
NetCord.dll
public interface IVoiceClientCache : IDictionaryProvider, IDisposable
Inherited Members

Properties

Ssrc

uint Ssrc { get; }

Property Value

uint

SsrcUsers

IReadOnlyDictionary<uint, ulong> SsrcUsers { get; }

Property Value

IReadOnlyDictionary<uint, ulong>

UserSsrcs

IReadOnlyDictionary<ulong, uint> UserSsrcs { get; }

Property Value

IReadOnlyDictionary<ulong, uint>

Users

IReadOnlySet<ulong> Users { get; }

Property Value

IReadOnlySet<ulong>

Methods

CacheCurrentSsrc(uint)

IVoiceClientCache CacheCurrentSsrc(uint ssrc)

Parameters

ssrc uint

Returns

IVoiceClientCache

CacheUserSsrc(ulong, uint)

IVoiceClientCache CacheUserSsrc(ulong userId, uint ssrc)

Parameters

userId ulong
ssrc uint

Returns

IVoiceClientCache

CacheUsers(IReadOnlyList<ulong>)

IVoiceClientCache CacheUsers(IReadOnlyList<ulong> userIds)

Parameters

userIds IReadOnlyList<ulong>

Returns

IVoiceClientCache

RemoveUser(ulong)

IVoiceClientCache RemoveUser(ulong userId)

Parameters

userId ulong

Returns

IVoiceClientCache