Evidence management
Learn how to collect and manage evidence for moderation.
Read time 1 minuteLast updated 2 days ago
When using the Vivox Unreal Module, the SDK automatically includes the list of channels the reporter and reported players are part of. As well as the list of extra players who were part of those channels. This information is used to add details to the evidence in the report. The extra players' tracks will be included in the Safe Voice screenings and each channel in the channel list will be screened. To ensure the voice sessions are captured and analyzed by Safe Voice, ensure your players have provided consent. To begin the Vivox Channel Cache, pass the AccountId of the current LoginSession toAccountId(<Issuer>, <Name>, <Domain>,TOptional<FString>(), TOptional<TArray<FString>>(), <UnityEnvironmentId>)ChannelId(<Issuer>, <Name>, <Domain>, ChannelType::NonPositional, Channel3DProperties(), <UnityEnvironmentId>);
UModerationSubsystem::BeginVivoxCache(AccountId accountIdToCache)ModerationSubsystem->BeginVivoxCache(UserAccountId);
To better control the report context, you can alter the list of channels and players included in the report before it's sent.
FReport report = ModerationClient->GetReport(ReportedPlayerUASId, reportReason);for (const TPair<ChannelId, TArray<AccountId>>& pair : report.VivoxChannels) {//Perform logic on a per-channel basis here, with the Value of each Key being the array of AccountId's of the channel Participants over the period of the cache.}