Home > @magiclane/maps-sdk > GateKeeperService > getStatus

GateKeeperService.getStatus() method

Gets the status of the specified gate.

Signature:

static getStatus(gate?: Gate): GateStatus;

Parameters

Parameter

Type

Description

gate

Gate

(Optional) The gate to check, defaults to Gate.core

Returns:

GateStatus

The status of the gate, including the decision, expiry time, and reason