Interface IVoiceEncryptionProvider
Voice encryption provider.
public interface IVoiceEncryptionProvider
Methods
GetEncryption(IReadOnlyList<string>)
Selects and returns an appropriate voice encryption implementation based on the provided encryption modes.
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.