PICO Unreal Platform SDK
UOnlinePicoComplianceFunction Class Reference

OnlinePicoIAP Blueprint Function class. More...

#include <Pico_Compliance.h>

Static Public Member Functions

static bool DetectSensitive (UObject *WorldContextObject, EDetectSensitiveScene DetectSensitiveScene, const FString &InDetectContent, FDetectSensitive InDelegate)
 Detects if a user name, room name, or the in-room chat content contains sensitive words. More...
 

Detailed Description

OnlinePicoIAP Blueprint Function class.

Member Function Documentation

◆ DetectSensitive()

static bool DetectSensitive ( UObject *  WorldContextObject,
EDetectSensitiveScene  DetectSensitiveScene,
const FString &  InDetectContent,
FDetectSensitive  InDelegate 
)
static

Detects if a user name, room name, or the in-room chat content contains sensitive words.

Parameters
WorldContextObjectUsed to get the information about the current world.
DetectSensitiveSceneThe type of content to verify. It can be a username, a room name, or in-room chat.
InDetectContentThe content to verify.
InDelegateWill be executed when the request has been completed. Delegate will contain the requested object class (bool, bIsError, int, ErrorCode, const FString&, ErrorMessage, UPico_DetectSensitiveResult *, DetectSensitiveResult).
Returns
Bool:
  • true: success
  • false: failure