namespace Unity.Cloud.UserReporting { /// /// Represents a user report screenshot. /// public struct UserReportScreenshot { #region Properties /// /// Gets or sets the data (base 64 encoded). Screenshots must be in PNG format. /// public string DataBase64 { get; set; } /// /// Gets or sets the data identifier. This property will be overwritten by the server if provided. /// public string DataIdentifier { get; set; } /// /// Gets or sets the frame number. /// public int FrameNumber { get; set; } /// /// Gets the height. /// public int Height { get { return PngHelper.GetPngHeightFromBase64Data(this.DataBase64); } } /// /// Gets the width. /// public int Width { get { return PngHelper.GetPngWidthFromBase64Data(this.DataBase64); } } #endregion } }