Class VoiceEncryptionProvider
public class VoiceEncryptionProvider : IVoiceEncryptionProvider
- Inheritance
-
VoiceEncryptionProvider
- Implements
- Inherited Members
Properties
Instance
public static VoiceEncryptionProvider Instance { get; }
Property Value
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.