Table of Contents

Class RuntimeEventPayload.Unknown

Namespace
Maplibre.NativeFfi.Runtime
Assembly
Maplibre.NativeFfi.dll

Payload for a payload kind this binding does not declare.

public sealed record RuntimeEventPayload.Unknown : RuntimeEventPayload, IEquatable<RuntimeEventPayload>, IEquatable<RuntimeEventPayload.Unknown>
Inheritance
RuntimeEventPayload.Unknown
Implements
Inherited Members

Remarks

PayloadBytes holds the event record's fixed payload window, copied unchanged, so a host forwards a payload kind a later library version adds.

Constructors

Unknown(uint, byte[])

public Unknown(uint RawPayloadType, byte[] PayloadBytes)

Parameters

RawPayloadType uint
PayloadBytes byte[]

Properties

PayloadBytes

public byte[] PayloadBytes { get; }

Property Value

byte[]

RawPayloadType

public uint RawPayloadType { get; }

Property Value

uint

Methods

Equals(Unknown?)

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

public bool Equals(RuntimeEventPayload.Unknown? other)

Parameters

other RuntimeEventPayload.Unknown

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.