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

SdkSettings.setAllowOffboardServiceOnExtraChargedNetwork() method

Allow the given service type on the extra charged network type. By default all are allowed.

Signature:

static setAllowOffboardServiceOnExtraChargedNetwork(serviceType: ServiceGroupType, allow: boolean): void;

Parameters

Parameter

Type

Description

serviceType

ServiceGroupType

ServiceGroupType object containing the service type

allow

boolean

Allow/deny value

Returns:

void

Exceptions

An exception if it fails.