Home > @magiclane/maps-sdk > SdkSettings > getOnlineServiceRestriction

SdkSettings.getOnlineServiceRestriction() method

Get online service restrictions.

Signature:

static getOnlineServiceRestriction(serviceType: ServiceGroupType): Set<OnlineRestrictions>;

Parameters

Parameter

Type

Description

serviceType

ServiceGroupType

The service group id

Returns:

Set<OnlineRestrictions>

The OnlineRestrictions set

Exceptions

An exception if it fails.