Class StoredMedia
Downloaded media file kept in the media directory.
Inherited Members
Namespace: Uniform.Matrix.Client.Storage
Assembly: Uniform.Matrix.Client.dll
Syntax
public sealed class StoredMedia
Properties
| Edit this page View SourceContentType
MIME type.
Declaration
public string? ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DownloadedAt
Download time.
Declaration
public DateTimeOffset DownloadedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset |
FileName
Original file name.
Declaration
public string? FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MxcUri
Content URI mxc://server/mediaId; primary key.
Declaration
public required string MxcUri { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RelativePath
File path relative to the media directory.
Declaration
public required string RelativePath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Size in bytes.
Declaration
public long Size { get; set; }
Property Value
| Type | Description |
|---|---|
| long |