Skip to main content
Version: 2.x

Delegates

All delegate types declared by the ODIN Voice Unreal SDK. Dynamic multicast delegates back the Blueprint event dispatchers (BlueprintAssignable properties); bind to them in C++ with AddDynamic/AddUniqueDynamic. Native delegates (without DYNAMIC) are C++ only; bind with AddUObject, AddLambda and similar.

note

The response and callback delegates of the Native (Low-Level) Blueprint nodes (FOdinNative…) are not listed. They only exist to build those async nodes.

OdinAudio/Effects/OdinActivityEffect.h​

FOdinActivityEffectCallback​

Dynamic multicast delegate.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinActivityEffectCallback, const bool, isActive, const UOdinActivityEffect*, userData);
ParameterType
isActiveconst bool
userDataconst UOdinActivityEffect*

Used by: UOdinActivityEffect::ActivityCallback

OdinAudio/Effects/OdinCloneEffect.h​

FOdinCloneEffectResponse​

Dynamic multicast delegate.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOdinCloneEffectResponse, FString, response);
ParameterType
responseFString

Used by: UOdinCloneEffect::PostResponse

FOdinDispatchCloneCallbackDelegate​

Dynamic multicast delegate, declared in UOdinCloneEffect.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOdinDispatchCloneCallbackDelegate, const TArray<float>&, SampleData);
ParameterType
SampleDataconst TArray<float>&

Used by: UOdinCloneEffect::OnDispatchCloneCallbackBP

OdinAudio/Effects/OdinRestGSTTEffect.h​

FOdinRestGSTTEffectResponse​

Dynamic multicast delegate.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOdinRestGSTTEffectResponse, FString, response);
ParameterType
responseFString

Used by: UOdinRestGSTTEffect::PostResponse

OdinAudio/OdinAudioCapture.h​

FCaptureDeviceChange​

Dynamic multicast delegate.

DECLARE_DYNAMIC_MULTICAST_DELEGATE(FCaptureDeviceChange);

Used by: UOdinAudioCapture::OnCaptureDeviceReset, UOdinAudioCapture::OnDefaultDeviceChanged

FCaptureDeviceChangedWithDetails​

Dynamic multicast delegate, declared in UOdinAudioCapture.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FCaptureDeviceChangedWithDetails, const FOdinCaptureDeviceInfo&, PreviousDevice, const FOdinCaptureDeviceInfo&, NewDevice);
ParameterType
PreviousDeviceconst FOdinCaptureDeviceInfo&
NewDeviceconst FOdinCaptureDeviceInfo&

Used by: UOdinAudioCapture::OnCaptureDeviceChanged

FGetCaptureDeviceDelegate​

Dynamic delegate.

DECLARE_DYNAMIC_DELEGATE_TwoParams(FGetCaptureDeviceDelegate, const TArray<FOdinCaptureDeviceInfo>&, OutDevices, const FOdinCaptureDeviceInfo&, CurrentDevice);
ParameterType
OutDevicesconst TArray<FOdinCaptureDeviceInfo>&
CurrentDeviceconst FOdinCaptureDeviceInfo&

OdinAudio/OdinDecoder.h​

FOdinDecoderAudioEventCallbackDelegate​

Dynamic multicast delegate, declared in UOdinDecoder.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinDecoderAudioEventCallbackDelegate, UOdinDecoder*, decoder, EOdinAudioEvents, filter);
ParameterType
decoderUOdinDecoder*
filterEOdinAudioEvents

Used by: UOdinDecoder::OnAudioEventCallbackBP

OdinAudio/OdinEncoder.h​

FOdinEncoderAudioEventCallbackDelegate​

Dynamic multicast delegate, declared in UOdinEncoder.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinEncoderAudioEventCallbackDelegate, UOdinEncoder*, encoder, EOdinAudioEvents, filter);
ParameterType
encoderUOdinEncoder*
filterEOdinAudioEvents

Used by: UOdinEncoder::OnAudioEventCallbackBP

OdinAudio/OdinPipeline.h​

FApmConfigChangedDelegate​

Dynamic multicast delegate, declared in UOdinPipeline.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FApmConfigChangedDelegate, UOdinPipeline*, Pipeline, int32, EffectId, FOdinApmConfig, NewApmConfig);
ParameterType
PipelineUOdinPipeline*
EffectIdint32
NewApmConfigFOdinApmConfig

Used by: UOdinPipeline::OnApmConfigChanged

OdinRoom.h​

FOdinErrorDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinErrorDelegate, UOdinRoom*, room, FOdinError, data);
ParameterType
roomUOdinRoom*
dataFOdinError

Used by: UOdinRoom::OnRoomErrorBP

FOdinJoinedDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinJoinedDelegate, UOdinRoom*, room, FOdinJoined, data);
ParameterType
roomUOdinRoom*
dataFOdinJoined

Used by: UOdinRoom::OnRoomJoinedBP

FOdinMessageReceivedDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinMessageReceivedDelegate, UOdinRoom*, room, FOdinMessageReceived, data);
ParameterType
roomUOdinRoom*
dataFOdinMessageReceived

Used by: UOdinRoom::OnRoomMessageReceivedBP

FOdinNewReconnectTokenDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinNewReconnectTokenDelegate, UOdinRoom*, room, FOdinNewReconnectToken, data);
ParameterType
roomUOdinRoom*
dataFOdinNewReconnectToken

Used by: UOdinRoom::OnRoomNewReconnectTokenBP

FOdinPeerChangedDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinPeerChangedDelegate, UOdinRoom*, room, FOdinPeerChanged, data);
ParameterType
roomUOdinRoom*
dataFOdinPeerChanged

Used by: UOdinRoom::OnRoomPeerChangedBP

FOdinPeerJoinedDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinPeerJoinedDelegate, UOdinRoom*, room, FOdinPeerJoined, data);
ParameterType
roomUOdinRoom*
dataFOdinPeerJoined

Used by: UOdinRoom::OnRoomPeerJoinedBP

FOdinPeerLeftDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinPeerLeftDelegate, UOdinRoom*, room, FOdinPeerLeft, data);
ParameterType
roomUOdinRoom*
dataFOdinPeerLeft

Used by: UOdinRoom::OnRoomPeerLeftBP

FOdinRoomClosedNativeDelegate​

Native multicast delegate, declared in UOdinRoom.

DECLARE_MULTICAST_DELEGATE_OneParam(FOdinRoomClosedNativeDelegate, UOdinRoom*);
ParameterType
(unnamed)UOdinRoom*

Used by: UOdinRoom::OnRoomClosed

FOdinRoomRpcDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinRoomRpcDelegate, UOdinRoom*, room, FString, json);
ParameterType
roomUOdinRoom*
jsonFString

Used by: UOdinRoom::OnRpcBP

FOdinRoomStatusChangedDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinRoomStatusChangedDelegate, UOdinRoom*, room, FOdinRoomStatusChanged, data);
ParameterType
roomUOdinRoom*
dataFOdinRoomStatusChanged

Used by: UOdinRoom::OnRoomStatusChangedBP

FOdinSocketDelegate​

Dynamic multicast delegate, declared in UOdinRoom.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOdinSocketDelegate, UOdinSocket*, socket, TArray<uint8>, message);
ParameterType
socketUOdinSocket*
messageTArray<uint8>

Used by: UOdinRoom::OnSocketBP

OdinSocket.h​

FOdinSocketReceivedDelegate​

Dynamic multicast delegate, declared in UOdinSocket.

DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOdinSocketReceivedDelegate, UOdinRoom*, room, UOdinSocket*, socket, const TArray<uint8>&, data);
ParameterType
roomUOdinRoom*
socketUOdinSocket*
dataconst TArray<uint8>&

Used by: UOdinSocket::OnSocketMessageReceivedBP