collectToLocalDatabase

Observe and store event to local database

Parameters

owner

AppCompatActivity/Activity for runtime check watcher

It must be run in a coroutine context such as Dispatchers.IO.