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

SdkSettings.setAllowInternetConnection() method

Allow/deny internet connection.

Signature:

static setAllowInternetConnection(allowInternetConnection: boolean): void;

Parameters

Parameter

Type

Description

allowInternetConnection

boolean

Set if the SDK can connect to the internet

Returns:

void

Exceptions

An exception if it fails.