allowToDownloadData

open fun allowToDownloadData(allowToDownloadData: Boolean)

Allows or not the SDK to access the network (online data)

This will directly affect the online state of the SDK (isOnline} will return false if this method is set to false)

Parameters

allowToDownloadData

Set to false to prevent the SDK to access the network. Defaults to false

Throws

if the SDK hasn't been initialized (by invoking initialize)