Home > @magiclane/maps-sdk > GateStatus

GateStatus class

Gives more details about the status of a gate, such as the decision, the time until which the decision is valid, and a reason for the decision.

Use GateKeeperService.getStatus to obtain the GateStatus for a specific gate.

Activation

Signature:

export declare class GateStatus 

Constructors

Constructor

Modifiers

Description

(constructor)(decision, notAfter, reason)

Creates a new GateStatus with the given decision, notAfter, and reason.

Properties

Property

Modifiers

Type

Description

decision

GateDecision

notAfter

Date

reason

string

Methods

Method

Modifiers

Description

fromJson(json)

static

Deserializes a JSON-compatible map to create an instance.