Edit

PFCatalogSetItemModerationStateAsync

Sets the moderation state for an item, including the concern category and string reason. More information about moderation states can be found here: https://learn.microsoft.com/gaming/playfab/features/economy-v2/ugc/moderation

Syntax

HRESULT PFCatalogSetItemModerationStateAsync(  
    PFEntityHandle entityHandle,  
    const PFCatalogSetItemModerationStateRequest* request,  
    XAsyncBlock* async  
)  

Parameters

entityHandle   PFEntityHandle

PFEntityHandle to use for authentication.

request   PFCatalogSetItemModerationStateRequest*

Populated request object.

async   XAsyncBlock*
Inout

XAsyncBlock for the async operation.

Return value

Type: HRESULT

Result code for this API operation.

Remarks

This API is available on Windows. Call XAsyncGetStatus to get the status of the operation. If the service call is unsuccessful, the async result will be E_PF_DATABASE_THROUGHPUT_EXCEEDED, E_PF_ITEM_NOT_FOUND or any of the global PlayFab Service errors. See doc page "Handling PlayFab Errors" for more details on error handling.

Requirements

Header: PFCatalog.h

See also

PFCatalog members