Class RemoteMediaRow
Media of another server, fetched once and kept here; its file and thumbnails are stored under LocalId, an ID of this server, as other servers' IDs are not safe as paths.
Inherited Members
Namespace: Uniform.Matrix.Server.Storage
Assembly: Uniform.Matrix.Server.dll
Syntax
public sealed class RemoteMediaRow
Properties
| Edit this page View SourceContentType
Content type the other server gave.
Declaration
public required string ContentType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FetchedTs
When it was fetched, in milliseconds since the Unix epoch.
Declaration
public long FetchedTs { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
FileName
File name the other server gave, or null.
Declaration
public string? FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LocalId
ID of the stored file here.
Declaration
public required string LocalId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MediaId
Media ID on that server.
Declaration
public required string MediaId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ServerName
Server of the media.
Declaration
public required string ServerName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Size in bytes.
Declaration
public long Size { get; set; }
Property Value
| Type | Description |
|---|---|
| long |