IClient
Reference the IClient interface for initializing and managing Vivox connections.
Read time 2 minutesLast updated 2 days ago
Provides access to the Vivox voice system.
#include <IClient.h>Public Functions
Name | |
|---|---|
| virtual VivoxCoreError | Initialize(VivoxConfig sdkConfig =VivoxConfig()) =0 Initializes this Client instance. If the client is already initialized, then this does nothing and returns VxErrorAlreadyInitialized. |
| virtual void | Uninitialize() =0 Uninitialize this Client instance. If this Client instance is not initialized, then this does nothing. |
| virtual ILoginSession & | GetLoginSession(const AccountId & loginSessionId) =0 Gets the LoginSession object for the provided accountId, and creates one if necessary. |
| virtual const TMap< AccountId, TSharedPtr< ILoginSession > > & | LoginSessions() =0 All of the login sessions that are associated with this Client instance. |
| virtual IAudioDevices & | AudioInputDevices() =0 The audio input devices that are associated with this Client instance. |
| virtual IAudioDevices & | AudioOutputDevices() =0 The audio output devices that are associated with this Client instance. |
| FString | InternalVersion() The internal version of the low-level vivoxsdk library. |
| FString | InternalVersionExtended() The internal version of the low-level vivoxsdk library with extended information. |
Public Functions Documentation
function Initialize
Initializes this Client instance. If the client is already initialized, then this does nothing and returns VxErrorAlreadyInitialized. Parameters:virtual VivoxCoreError Initialize( VivoxConfig sdkConfig =VivoxConfig()) =0
- sdkConfig The config to initialize with, which allows for the customization of certain aspects of the Vivox SDK.
function Uninitialize
Uninitialize this Client instance. If this Client instance is not initialized, then this does nothing.virtual void Uninitialize() =0
function GetLoginSession
Gets the LoginSession object for the provided accountId, and creates one if necessary. Parameters:virtual ILoginSession & GetLoginSession( const AccountId & loginSessionId) =0
- loginSessionId The AccountId for this login session.
function LoginSessions
All of the login sessions that are associated with this Client instance.virtual const TMap< AccountId, TSharedPtr< ILoginSession > > & LoginSessions() =0
function AudioInputDevices
The audio input devices that are associated with this Client instance.virtual IAudioDevices & AudioInputDevices() =0
function AudioOutputDevices
The audio output devices that are associated with this Client instance.virtual IAudioDevices & AudioOutputDevices() =0
function InternalVersion
The internal version of the low-level vivoxsdk library.static FString InternalVersion()
function InternalVersionExtended
The internal version of the low-level vivoxsdk library with extended information.static FString InternalVersionExtended()