setOnline

fun setOnline(online: Boolean)

Simulates a network connectivity change.