Class MediaInfo
Implements
Inherited Members
Namespace: Uniform.Matrix.Protocol.Core
Assembly: Uniform.Matrix.Protocol.Core.dll
Syntax
public sealed record MediaInfo : IEquatable<MediaInfo>
Properties
| Edit this page View SourceDuration
Audio or video duration in milliseconds.
Declaration
public long? Duration { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
Height
Image or video height in pixels.
Declaration
[JsonPropertyName("h")]
public int? Height { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
Mimetype
MIME type, e.g. image/png.
Declaration
public string? Mimetype { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Size in bytes.
Declaration
public long? Size { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
Width
Image or video width in pixels.
Declaration
[JsonPropertyName("w")]
public int? Width { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |