Class UserReport
Represents a user report.
Inherited Members
Namespace: Unity.Cloud.UserReporting
Assembly: Unity.Cloud.UserReporting.Client.dll
Syntax
public class UserReport : UserReportPreview
Constructors
UserReport()
Creates a new instance of the UserReport class.
Declaration
public UserReport()
Properties
Attachments
Gets or sets the attachments.
Declaration
public List<UserReportAttachment> Attachments { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportAttachment> |
ClientMetrics
Gets or sets the client metrics.
Declaration
public List<UserReportMetric> ClientMetrics { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportMetric> |
DeviceMetadata
Gets or sets the device metadata.
Declaration
public List<UserReportNamedValue> DeviceMetadata { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportNamedValue> |
Events
Gets or sets the events.
Declaration
public List<UserReportEvent> Events { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportEvent> |
Fields
Gets or sets the fields.
Declaration
public List<UserReportNamedValue> Fields { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportNamedValue> |
Measures
Gets or sets the measures.
Declaration
public List<UserReportMeasure> Measures { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportMeasure> |
Screenshots
Gets or sets the screenshots.
Declaration
public List<UserReportScreenshot> Screenshots { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<UserReportScreenshot> |
Methods
Clone()
Clones the user report.
Declaration
public UserReport Clone()
Returns
Type | Description |
---|---|
UserReport | The cloned user report. |
Complete()
Completes the user report. This is called by the client and only needs to be called when constructing a user report manually.
Declaration
public void Complete()
Fix()
Fixes the user report by replace null lists with empty lists.
Declaration
public void Fix()
GetDimensionsString()
Gets the dimension string for the dimensions associated with this user report.
Declaration
public string GetDimensionsString()
Returns
Type | Description |
---|---|
System.String |
RemoveScreenshots(Int32, Int32, Int32, Int32)
Removes screenshots above a certain size from the user report.
Declaration
public void RemoveScreenshots(int maximumWidth, int maximumHeight, int totalBytes, int ignoreCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maximumWidth | The maximum width. |
System.Int32 | maximumHeight | The maximum height. |
System.Int32 | totalBytes | The total bytes allowed by screenshots. |
System.Int32 | ignoreCount | The number of screenshots to ignoreCount. |
ToPreview()
Casts the user report to a user report preview.
Declaration
public UserReportPreview ToPreview()
Returns
Type | Description |
---|---|
UserReportPreview | The user report preview. |