setIsAllowedToUseMobileData

Sets whether the Sentiance SDK is allowed to use mobile data for uploading and downloading configuration and detection data.

This setting applies to most types of data transfers done by the SDK, with the exception of a few lightweight data payloads.

The setting is persisted across app restarts, but is reset to a default value of true when the SDK is reset.

Throws

if the SDK is not initialized.