Table of Contents

Class FieldMediaAttachment

Namespace
Honua.Sdk.Field.Records
Assembly
Honua.Sdk.Field.dll

Portable media metadata attached to a field record.

public sealed record FieldMediaAttachment : IEquatable<FieldMediaAttachment>
Inheritance
FieldMediaAttachment
Implements
Inherited Members

Properties

AttachmentId

Stable attachment identifier.

public required string AttachmentId { get; init; }

Property Value

string

CaptureLocation

Location where the media was captured.

public FieldGeoPoint? CaptureLocation { get; init; }

Property Value

FieldGeoPoint

CapturedAtUtc

UTC time the media was captured.

public DateTimeOffset CapturedAtUtc { get; init; }

Property Value

DateTimeOffset

ContentType

Media content type.

public string? ContentType { get; init; }

Property Value

string

Duration

Media duration for audio/video attachments.

public TimeSpan? Duration { get; init; }

Property Value

TimeSpan?

FieldId

Field that owns this media attachment, when known.

public string? FieldId { get; init; }

Property Value

string

FileName

File name without host-specific local path.

public string? FileName { get; init; }

Property Value

string

GpsTrack

Optional GPS track reference for timed media.

public FieldGpsTrackReference? GpsTrack { get; init; }

Property Value

FieldGpsTrackReference

MediaType

Media type.

public FieldMediaType MediaType { get; init; }

Property Value

FieldMediaType

RequiresFaceBlur

Whether the host should blur faces before upload or export.

public bool RequiresFaceBlur { get; init; }

Property Value

bool

Sha256

Lowercase hexadecimal SHA-256 digest, when known.

public string? Sha256 { get; init; }

Property Value

string

SizeBytes

Media size in bytes.

public long? SizeBytes { get; init; }

Property Value

long?