Navigation
API > API/Plugins > API/Plugins/VoiceChat
| Name | IVoiceChat |
| Type | class |
| Header File | /Engine/Plugins/Online/VoiceChat/VoiceChat/Source/Public/VoiceChat.h |
| Include Path | #include "VoiceChat.h" |
Syntax
class IVoiceChat :
public IVoiceChatUser ,
public IModularFeature
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Connect
(
const FOnVoiceChatConnectCompleteDelegate& Delegate |
Connect to a voice server | VoiceChat.h | |
IVoiceChatUser * CreateUser() |
Allocate an interface for an additional user. The interface must be released with ReleaseUser. | VoiceChat.h | |
void Disconnect
(
const FOnVoiceChatDisconnectCompleteDelegate& Delegate |
Disconnect from a voice server | VoiceChat.h | |
bool Initialize () |
Initialize VoiceChat synchronously | VoiceChat.h | |
void Initialize
(
const FOnVoiceChatInitializeCompleteDelegate& Delegate |
Initialize VoiceChat asynchronously | VoiceChat.h | |
bool IsConnected() |
Are we connected to the voice server? | VoiceChat.h | |
bool IsConnecting() |
Are we connecting to the voice server? | VoiceChat.h | |
bool IsInitialized() |
Is voice chat initialized? | VoiceChat.h | |
FOnVoiceChatConnectedDelegate & OnVoiceChatConnected() |
Delegate triggered when we are connected to voice chat | VoiceChat.h | |
FOnVoiceChatDisconnectedDelegate & OnVoiceChatDisconnected() |
Delegate triggered when we are disconnected from voice chat | VoiceChat.h | |
FOnVoiceChatReconnectedDelegate & OnVoiceChatReconnected () |
Delegate triggered when we are reconnected to voice chat in cases where the underlying implementation disconnected and then reconnected. | VoiceChat.h | |
void ReleaseUser
(
IVoiceChatUser* VoiceChatUser |
Release an interface for an additional user. | VoiceChat.h | |
bool Uninitialize () |
Uninitialize VoiceChat synchronously | VoiceChat.h | |
void Uninitialize
(
const FOnVoiceChatUninitializeCompleteDelegate& Delegate |
Uninitialize VoiceChat asynchronously | VoiceChat.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IVoiceChat * Get() |
Get the IVoiceChat modular feature instance | VoiceChat.h | |
static FName GetModularFeatureName() |
VoiceChat.h |