Skip to main content
Version: 2.x

Namespace OdinNative.Core.Imports

Classes

NativeBindings

C# bindings for the native ODIN runtime

NativeBindings.OdinArray

Pinned byte Buffer

NativeBindings.OdinArrayf

Pinned float Buffer

NativeBindings.OdinCipher

NativeCryptoMethods

Import odin_crypto function signatures to wrapper delegates

NativeLibraryMethods

Import odin function signatures to wrapper delegates

NativeMethods<T>

OdinCipherHandle

OdinConnectionPoolHandle

OdinDecoderHandle

OdinEncoderHandle

OdinPipelineHandle

OdinRoomHandle

OdinTokenGeneratorHandle

Structs

NativeBindings.OdinApmConfig

NativeBindings.OdinConnectionPoolSettings

NativeBindings.OdinSensitivityConfig

NativeBindings.OdinVadConfig

NativeMethods<T>.LockObject

Interfaces

NativeBindings.IOdinCipher

Enums

NativeBindings.OdinCryptoPeerStatus

NativeBindings.OdinEffectType

NativeBindings.OdinError

Odin error codes where negative values are errors and positive values status codes

NativeBindings.OdinNoiseSuppression

Valid levels for aggressiveness of the noise suppression. A higher level will reduce the noise level at the expense of a higher speech distortion.

Delegates

NativeBindings.IOdinCipher.DecryptDatagram

int32_t(decrypt_datagram)(struct OdinCipher cipher, uint64_t peer_id, const unsigned char ciphertext, uint32_t ciphertext_length, unsigned char plaintext, uint32_t plaintext_capacity);

NativeBindings.IOdinCipher.DecryptMessage

int32_t(decrypt_message)(struct OdinCipher cipher, uint64_t peer_id, const unsigned char ciphertext, uint32_t ciphertext_length, unsigned char plaintext, uint32_t plaintext_capacity);

NativeBindings.IOdinCipher.DecryptUserData

int32_t(decrypt_user_data)(struct OdinCipher cipher, uint64_t peer_id, const unsigned char ciphertext, uint32_t ciphertext_length, unsigned char plaintext, uint32_t plaintext_capacity);

NativeBindings.IOdinCipher.EncryptDatagram

int32_t(encrypt_datagram)(struct OdinCipher cipher, const unsigned char plaintext, uint32_t plaintext_length, unsigned char ciphertext, uint32_t ciphertext_capacity);

NativeBindings.IOdinCipher.EncryptMessage

int32_t(encrypt_message)(struct OdinCipher cipher, const unsigned char plaintext, uint32_t plaintext_length, unsigned char ciphertext, uint32_t ciphertext_capacity);

NativeBindings.IOdinCipher.EncryptUserData

int32_t(encrypt_user_data)(struct OdinCipher cipher, const unsigned char plaintext, uint32_t plaintext_length, unsigned char ciphertext, uint32_t ciphertext_capacity);

NativeBindings.IOdinCipher.Free

void (* free) (struct OdinCipher *cipher);

NativeBindings.IOdinCipher.Init

void (* init) (struct OdinCipher *cipher, struct OdinRoom *room);

NativeBindings.IOdinCipher.OnEvent

void (* on_event) (struct OdinCipher cipher, const unsigned char bytes, uint32_t length);

NativeBindings.PipelineCallback<T>

NativeLibraryMethods.OdinConnectionPoolOnDatagramDelegate

NativeLibraryMethods.OdinConnectionPoolOnRPCDelegate

NativeLibraryMethods.OdinCustomEffectCallbackDelegate