Table of Contents

Class AdvancedMobileLocation

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
public record AdvancedMobileLocation : IAdvancedMobileLocation, IEquatable<AdvancedMobileLocation>
Inheritance
AdvancedMobileLocation
Implements
Inherited Members
Extension Methods

Constructors

AdvancedMobileLocation()

public AdvancedMobileLocation()

AdvancedMobileLocation(AdvancedMobileLocation)

protected AdvancedMobileLocation(AdvancedMobileLocation original)

Parameters

original AdvancedMobileLocation

Properties

Accuracy

Accuracy of the location in meters.

[JsonPropertyName("location_accuracy")]
public double? Accuracy { get; init; }

Property Value

double?

Altitude

Altitude of the location in meters.

[JsonPropertyName("location_altitude")]
public double? Altitude { get; init; }

Property Value

double?

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Latitude

Latitude of the location.

[JsonPropertyName("location_latitude")]
public double? Latitude { get; init; }

Property Value

double?

LocationTime

Time when the location was recorded.

[JsonPropertyName("location_time")]
public DateTimeOffset? LocationTime { get; init; }

Property Value

DateTimeOffset?

Longitude

Longitude of the location.

[JsonPropertyName("location_longitude")]
public double? Longitude { get; init; }

Property Value

double?

Source

Source of the location information (e.g., GPS, WiFi).

[JsonPropertyName("location_source")]
public string? Source { get; init; }

Property Value

string

Status

Status of the location data (e.g., ok).

[JsonPropertyName("status")]
public string? Status { get; init; }

Property Value

string

VerticalAccuracy

Vertical accuracy of the location in meters.

[JsonPropertyName("location_vertical_accuracy")]
public double? VerticalAccuracy { get; init; }

Property Value

double?

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(AdvancedMobileLocation?)

public virtual bool Equals(AdvancedMobileLocation? other)

Parameters

other AdvancedMobileLocation

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(AdvancedMobileLocation?, AdvancedMobileLocation?)

public static bool operator ==(AdvancedMobileLocation? left, AdvancedMobileLocation? right)

Parameters

left AdvancedMobileLocation
right AdvancedMobileLocation

Returns

bool

operator !=(AdvancedMobileLocation?, AdvancedMobileLocation?)

public static bool operator !=(AdvancedMobileLocation? left, AdvancedMobileLocation? right)

Parameters

left AdvancedMobileLocation
right AdvancedMobileLocation

Returns

bool