PartyLocalChatControl::SetVoiceAudioOptions

Configures the voice audio options for this chat control.

Syntax

PartyError SetVoiceAudioOptions(  
    PartyVoiceAudioOptions options  
)  

Parameters

options   PartyVoiceAudioOptions

The voice audio options.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().

Remarks

This function is only supported on Android and iOS. Calls on other platforms will fail.

By default, a chat control is created with PartyVoiceAudioOptions::None audio options.

Requirements

Header: Party.h

See also

PartyLocalChatControl