Editar

Compartir vía


PartyLocalChatControl::GetIncomingAudioMuted

Provides whether the incoming audio from the target chat control, in relation to the local chat control, has previously been muted.

Syntax

PartyError GetIncomingAudioMuted(  
    const PartyChatControl* targetChatControl,  
    PartyBool* muted  
)  

Parameters

targetChatControl   PartyChatControl*

The target chat control.

muted   PartyBool*
output

True if muted, false otherwise.

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

Audio muting determines whether incoming voice audio from the target chat control will be rendered to the local chat control.

Requirements

Header: Party.h

See also

PartyLocalChatControl