docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IModerationService

    Defines all public Moderation Service functionality

    Inherited Members
    IDisposable.Dispose()
    Namespace: Unity.Services.Moderation
    Assembly: Unity.Services.Moderation.dll
    Syntax
    public interface IModerationService : IDisposable

    Methods

    NewReport(string, ReportReason)

    Create an instance of a Report the returned report will includes all the parameters to be sent to the moderation service

    Declaration
    Report NewReport(string playerID, ReportReason reason)
    Parameters
    Type Name Description
    string playerID

    the UAS Player ID of the player to report

    ReportReason reason

    the reason of the reportReportReason

    Returns
    Type Description
    Report

    an instance of Report

    ReportPlayer(Report)

    Send the Report to the moderation service

    Declaration
    Task ReportPlayer(Report report)
    Parameters
    Type Name Description
    Report report

    the report object defining the report contextReport

    Returns
    Type Description
    Task

    a Task for the result of the player report call

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)