docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FileDetails

    Implementation of an interface to access file data structure for an attachment

    Inheritance
    object
    FileDetails
    Implements
    IFileDetails
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Collaboration.Models.Abstractions
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public class FileDetails : IFileDetails

    Constructors

    FileDetails(long?, string, FileStatus?, string, string)

    Initializes a new instance of the FileDetails class.

    Declaration
    public FileDetails(long? fileSize, string filePath, FileStatus? status, string fileType = null, string contentType = null)
    Parameters
    Type Name Description
    long? fileSize

    The file size (required).

    string filePath

    The file size (required).

    FileStatus? status

    Status of the file (required).

    string fileType

    The file type.

    string contentType

    The file content type, MIME type if relevant.

    Properties

    ContentType

    The file content type, MIME type if relevant.

    Declaration
    public string ContentType { get; }
    Property Value
    Type Description
    string

    FilePath

    The file path.

    Declaration
    public string FilePath { get; }
    Property Value
    Type Description
    string

    FileSize

    The file size.

    Declaration
    public long FileSize { get; }
    Property Value
    Type Description
    long

    FileType

    The file type.

    Declaration
    public string FileType { get; }
    Property Value
    Type Description
    string

    Status

    Status of the attachment file. Possible values:

    • Unknown: Unknown status.
    • Draft: The file is in draft.
    • Uploaded: The file has been uploaded.
    Declaration
    public FileStatus Status { get; }
    Property Value
    Type Description
    FileStatus

    Implements

    IFileDetails
    In This Article
    Back to top
    Copyright © 2026 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)