Editar

PartyLocalChatControl::GetIncomingAudioMuted

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

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