PartyLocalChatControl::GetTranscriptionOptions
Provides the transcription options associated with voice chat audio for this chat control.
Syntax
PartyError GetTranscriptionOptions(
PartyVoiceChatTranscriptionOptions* options
)
Parameters
options
PartyVoiceChatTranscriptionOptions*
output
Options associated with voice chat transcription, such as whether it should be enabled only for the local chat control, remote chat controls, or none.
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
Transcription is the process of generating strings representing spoken phrases in voice chat. The options specified via options
specify the chat controls that should generate these transcription strings, which are subsequently provided to the local chat control via PartyVoiceChatTranscriptionReceivedStateChanges.
Only chat controls configured to use a language that supports transcription, via PartyLocalDevice::CreateChatControl(), will provide transcriptions.
Requirements
Header: Party.h
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om