Table of Contents

Class VoiceEncryptionProvider

Namespace
NetCord.Gateway.Voice
Assembly
NetCord.dll
public class VoiceEncryptionProvider : IVoiceEncryptionProvider
Inheritance
VoiceEncryptionProvider
Implements
Inherited Members

Properties

Instance

public static VoiceEncryptionProvider Instance { get; }

Property Value

VoiceEncryptionProvider

Methods

GetEncryption(IReadOnlyList<string>)

Selects and returns an appropriate voice encryption implementation based on the provided encryption modes.

public IVoiceEncryption GetEncryption(IReadOnlyList<string> modes)

Parameters

modes IReadOnlyList<string>

A list of encryption modes supported by the Discord backend.

Returns

IVoiceEncryption

An implementation of IVoiceEncryption that matches one of the specified modes.