Class NetworkStatus
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
Offline
Prevents new online source network requests.
public static NetworkStatus Offline { get; }
Property Value
Online
Allows HTTP and HTTPS requests.
public static NetworkStatus Online { get; }
Property Value
RawValue
The raw C mln_network_status value.
public uint RawValue { get; }
Property Value
Methods
FromRaw(uint)
Creates a .NET network status value from a raw C value.
public static NetworkStatus FromRaw(uint rawValue)
Parameters
rawValueuint
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.