IVoiceListener

An object interface for listening to voice events.

Windows
MacOS
Linux

References

Module

UnrealAudio

Header

/Engine/Source/Runtime/UnrealAudio/Public/UnrealAudioVoice.h

Include

#include "UnrealAudioVoice.h"

Syntax

class IVoiceListener

Remarks

An object interface for listening to voice events.

Functions

Name Description

Public function Virtual

void

 

OnVoiceDone

(
    IVoice* Voice
)

Called when a voice finishes playing or is stopped.

Public function Virtual

void

 

OnVoiceReal

(
    IVoice* Voice
)

Called when a voice becomes real (after it was virtual)

Public function Virtual

void

 

OnVoiceSuspend

(
    IVoice* Voice
)

Public function Virtual

void

 

OnVoiceVirtual

(
    IVoice* Voice
)

Called when a voice becomes virtual (i.e. can't be played because to many real voices are playing)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss