Table of Contents

Class OfflineRegionInfo

Namespace
Maplibre.NativeFfi.Offline
Assembly
Maplibre.NativeFfi.dll
public sealed record OfflineRegionInfo : IEquatable<OfflineRegionInfo>
Inheritance
OfflineRegionInfo
Implements
Inherited Members

Constructors

OfflineRegionInfo(long, OfflineRegionDefinition, byte[])

public OfflineRegionInfo(long Id, OfflineRegionDefinition Definition, byte[] Metadata)

Parameters

Id long
Definition OfflineRegionDefinition
Metadata byte[]

Properties

Definition

public OfflineRegionDefinition Definition { get; }

Property Value

OfflineRegionDefinition

Id

public long Id { get; }

Property Value

long

Metadata

public byte[] Metadata { get; }

Property Value

byte[]

Methods

Equals(OfflineRegionInfo?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(OfflineRegionInfo? other)

Parameters

other OfflineRegionInfo

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.