Class UploadContentOptions
Parameters for uploading content.
Namespace: Unity.Services.Ccd.Management
Syntax
public class UploadContentOptions : object
Constructors
UploadContentOptions(Guid, Guid, Stream)
Create parameters for uploading content.
Declaration
public UploadContentOptions(Guid bucketId, Guid entryId, Stream file)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | bucketId | Id of the bucket. |
| Guid | entryId | Id of the entry. |
| Stream | file | Stream of the file. |
Properties
BucketId
Id of bucket to upload.
Declaration
public Guid BucketId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
ChunkSize
Size to chunk file in MB. Default is 5MB.
Declaration
public double ChunkSize { get; set; }
Property Value
| Type | Description |
|---|---|
| Double |
EntryId
Id of the entry to upload.
Declaration
public Guid EntryId { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
File
Stream of the file to be uploaded.
Declaration
public Stream File { get; set; }
Property Value
| Type | Description |
|---|---|
| Stream |
OnProgressed
Progress delegate to run on progress.
Declaration
public ProgressDelegate OnProgressed { get; set; }
Property Value
| Type | Description |
|---|---|
| ProgressDelegate |