isOnline

open fun isOnline(): Boolean

Checks if the device is online and is allowed too

Use allowToDownloadData to allow/prevent the SDK to access the network

Return

True if the device is online AND is allowed to, false otherwise