isOnline

open fun isOnline(): Boolean

Checks if the device is online and allowed to

Note that even with a working network, this method will return false if network access was disallowed (by using allowDataDownload)

Return

true if the device is online and the SDK has been allowed to access the network

Throws

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