Table of Contents

Class NetworkStatus

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

MapLibre Native process-global network reachability state.

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

Properties

IsKnown

Whether this value is a known status in this binding version.

public bool IsKnown { get; }

Property Value

bool

Offline

Prevents new online source network requests.

public static NetworkStatus Offline { get; }

Property Value

NetworkStatus

Online

Allows HTTP and HTTPS requests.

public static NetworkStatus Online { get; }

Property Value

NetworkStatus

RawValue

The raw C mln_network_status value.

public uint RawValue { get; }

Property Value

uint

Methods

FromRaw(uint)

Creates a .NET network status value from a raw C value.

public static NetworkStatus FromRaw(uint rawValue)

Parameters

rawValue uint

Returns

NetworkStatus

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.