Table of Contents

Class SequenceData

Namespace
KartaViewSharp.V2.Response.Resources.Sequence
Assembly
KartaViewSharp.dll
[JsonSerializable(typeof(SequenceData), GenerationMode = JsonSourceGenerationMode.Metadata)]
public sealed class SequenceData : IEquatable<SequenceData>
Inheritance
SequenceData
Implements
Inherited Members

Constructors

SequenceData()

public SequenceData()

Properties

Address

Full address of the location, based on coordinates.

[JsonPropertyName("address")]
public string? Address { get; set; }

Property Value

string

AppVersion

The application version used to record the sequence.

[JsonPropertyName("appVersion")]
public string AppVersion { get; set; }

Property Value

string

BlurBuild

Build number at the time of the blur action.

[JsonPropertyName("blurBuild")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int BlurBuild { get; set; }

Property Value

int

BlurVersion

Blur version used at the time of the blur action.

[JsonPropertyName("blurVersion")]
public string BlurVersion { get; set; }

Property Value

string

CameraParameters

[JsonPropertyName("cameraParameters")]
public CameraParameter CameraParameters { get; set; }

Property Value

CameraParameter

ClientTotal

The total sequence score computed based on the coverage info.

[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
[JsonPropertyName("clientTotal")]
public int? ClientTotal { get; set; }

Property Value

int?

CountActivePhotos

Count of active photos in the sequence.

[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
[JsonPropertyName("countActivePhotos")]
public int? CountActivePhotos { get; set; }

Property Value

int?

CountMetadataPhotos

The total number of photos found in the metadata file of the sequence.

[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
[JsonPropertyName("countMetadataPhotos")]
public int? CountMetadataPhotos { get; set; }

Property Value

int?

CountMetadataVideos

The total number of videos found in the metadata file of the sequence.

[JsonPropertyName("countMetadataVideos")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? CountMetadataVideos { get; set; }

Property Value

int?

CountryCode

Country code

[JsonPropertyName("countryCode")]
[JsonConverter(typeof(StringAsNullableCountryJsonConverter))]
public Country? CountryCode { get; set; }

Property Value

Country

CurrentLat

First recorded latitude of the sequence.

[JsonPropertyName("currentLat")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? CurrentLat { get; set; }

Property Value

double?

CurrentLng

First recorded longitude of the sequence.

[JsonPropertyName("currentLng")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? CurrentLng { get; set; }

Property Value

double?

CurrentLocation

[JsonIgnore]
public Coordinate? CurrentLocation { get; set; }

Property Value

Coordinate

DateAdded

Datetime of the sequence when it was added.

[JsonPropertyName("dateAdded")]
[JsonConverter(typeof(StringAsDateTimeJsonConverter))]
public DateTime DateAdded { get; set; }

Property Value

DateTime

DateProcessed

Datetime of the sequence when it was processed.

[JsonPropertyName("dateProcessed")]
[JsonConverter(typeof(StringAsNullableDateTimeJsonConverter))]
public DateTime? DateProcessed { get; set; }

Property Value

DateTime?

DeviceName

The type of the device that recorded the sequence.

[JsonPropertyName("deviceName")]
public string? DeviceName { get; set; }

Property Value

string

Distance

The length for the entire sequence, in km.

[JsonPropertyName("distance")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? Distance { get; set; }

Property Value

double?

FieldOfView

[JsonPropertyName("fieldOfView")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? FieldOfView { get; set; }

Property Value

double?

HasRawData

A flag that return true if there is rawdata attached to the sequence.

[JsonPropertyName("hasRawData")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool HasRawData { get; set; }

Property Value

bool

Id

Unique identifier representing a specific sequence.

[JsonPropertyName("id")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int Id { get; set; }

Property Value

int

ImageProcessingStatus

The status of the image processing.

[JsonPropertyName("imageProcessingStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus ImageProcessingStatus { get; set; }

Property Value

SequenceStatus

IsVideo

Check the sequence if it is a video or not.

[JsonPropertyName("isVideo")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool IsVideo { get; set; }

Property Value

bool

MatchStatus

[JsonPropertyName("matchStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus MatchStatus { get; set; }

Property Value

SequenceStatus

Matched

All locations matched with success.

[JsonPropertyName("matched")]
public string Matched { get; set; }

Property Value

string

MetaDataFileName

File name of the metadata, including file extension.

[JsonPropertyName("metaDataFilename")]
public string MetaDataFileName { get; set; }

Property Value

string

MetaDataFilePath

File name of the metadata, including file extension.

[JsonPropertyName("metadataFilePath")]
public string MetaDataFilePath { get; set; }

Property Value

string

MetaDataFileUrl

File name of the metadata, including file extension.

[JsonPropertyName("metadataFileUrl")]
public Uri MetaDataFileUrl { get; set; }

Property Value

Uri

MetadataStatus

The processing status of the metadata process.

[JsonPropertyName("metadataStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus MetadataStatus { get; set; }

Property Value

SequenceStatus

NorthWest

[JsonIgnore]
public Coordinate NorthWest { get; set; }

Property Value

Coordinate

NwLat

NW Latitude coordinates of entity, campaign or campaign cell.

[JsonPropertyName("nwLat")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double NwLat { get; set; }

Property Value

double

NwLng

NW Longitude coordinates of entity, campaign or campaign cell.

[JsonPropertyName("nwLng")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double NwLng { get; set; }

Property Value

double

ObdInfo

A flag that confirms the presence of an obd connection at the time the sequence was captured.

[JsonPropertyName("obdInfo")]
public string? ObdInfo { get; set; }

Property Value

string

Photo

[JsonPropertyName("photo")]
public PhotoData? Photo { get; set; }

Property Value

PhotoData

Photos

[JsonPropertyName("photos")]
public PhotoData[]? Photos { get; set; }

Property Value

PhotoData[]

PlatformName

The platform name from which the sequence was recorded.

[JsonPropertyName("platformName")]
public string PlatformName { get; set; }

Property Value

string

PlatformVersion

The platform version from which the sequence was recorded.

[JsonPropertyName("platformVersion")]
public string PlatformVersion { get; set; }

Property Value

string

ProcessingStatus

The processing status of the sequence process.

[JsonPropertyName("processingStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus ProcessingStatus { get; set; }

Property Value

SequenceStatus

Quality

The average image quality number, in procentages.

[JsonPropertyName("quality")]
public string Quality { get; set; }

Property Value

string

QualityStatus

The quality status of the sequence process.

[JsonPropertyName("qualityStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus QualityStatus { get; set; }

Property Value

SequenceStatus

SeLat

SE Latitude coordinates of entity, campaign or campaign cell, calculated based on NW latitude coordinates.

[JsonPropertyName("seLat")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double SeLat { get; set; }

Property Value

double

SeLng

SE Longitude coordinates of entity, campaign or campaign cell, calculated based on NW longitutde coordinates.

[JsonPropertyName("seLng")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double SeLng { get; set; }

Property Value

double

SequenceType

The type of the recorded sequence, can be Vdb or null.

[JsonPropertyName("sequenceType")]
[JsonConverter(typeof(StringAsNullableSequenceTypeJsonConverter))]
public SequenceType? SequenceType { get; set; }

Property Value

SequenceType?

SouthEast

[JsonIgnore]
public Coordinate SouthEast { get; set; }

Property Value

Coordinate

StateCode

State code

[JsonPropertyName("stateCode")]
public string? StateCode { get; set; }

Property Value

string

Status

The state of the file,

Active when visible to the client, Deleted when hidden, DeleteQueue when marked to be made hidden, Inactive when the file does not exist on the disk.

[JsonPropertyName("status")]
[JsonConverter(typeof(StringAsStatusJsonConverter))]
public Status Status { get; set; }

Property Value

Status

Storage

The name of storage where the file can be found.

[JsonPropertyName("storage")]
public string Storage { get; set; }

Property Value

string

UploadSource

The device name from which the sequence was uploaded.

[JsonPropertyName("uploadSource")]
public string UploadSource { get; set; }

Property Value

string

UploadStatus

The uploading status of the sequence process.

[JsonPropertyName("uploadStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus UploadStatus { get; set; }

Property Value

SequenceStatus

User

[JsonPropertyName("user")]
public User? User { get; set; }

Property Value

User

UserId

The id of the user that recorded the sequence.

[JsonPropertyName("userId")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int UserId { get; set; }

Property Value

int

Methods

Equals(SequenceData?)

public bool Equals(SequenceData? other)

Parameters

other SequenceData

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int