Class ReportContentArgs
Support class to make a content request with IUgcService.ReportContentAsync Contains all the required and optional parameters of the request
Inherited Members
Namespace: Unity.Services.Ugc.Bridge
Assembly: Unity.Services.Ugc.Bridge.Editor.dll
Syntax
public class ReportContentArgs
Constructors
ReportContentArgs(string, Reason)
Construct a new ReportContentArgs object.
Declaration
public ReportContentArgs(string contentId, Reason reportReason)
Parameters
Type | Name | Description |
---|---|---|
string | contentId | The content identifier of the representation |
Reason | reportReason | The representation identifier |
Properties
ContentId
The content identifier of the reported content
Declaration
public string ContentId { get; set; }
Property Value
Type | Description |
---|---|
string |
OtherReason
Optional: if Reason was set to Other, provide an alternate reason here
Declaration
public string OtherReason { get; set; }
Property Value
Type | Description |
---|---|
string |
ReportReason
The report reason enum for the request
Declaration
public Reason ReportReason { get; set; }
Property Value
Type | Description |
---|---|
Reason |